JP4891382B2 - Magnetic disk apparatus and program - Google Patents

Magnetic disk apparatus and program Download PDF

Info

Publication number
JP4891382B2
JP4891382B2 JP2009274698A JP2009274698A JP4891382B2 JP 4891382 B2 JP4891382 B2 JP 4891382B2 JP 2009274698 A JP2009274698 A JP 2009274698A JP 2009274698 A JP2009274698 A JP 2009274698A JP 4891382 B2 JP4891382 B2 JP 4891382B2
Authority
JP
Japan
Prior art keywords
magnetic head
magnetic disk
unload
magnetic
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009274698A
Other languages
Japanese (ja)
Other versions
JP2011118977A (en
Inventor
義弘 齊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2009274698A priority Critical patent/JP4891382B2/en
Publication of JP2011118977A publication Critical patent/JP2011118977A/en
Application granted granted Critical
Publication of JP4891382B2 publication Critical patent/JP4891382B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、磁気ディスク装置及びプログラムに関する。   The present invention relates to a magnetic disk device and a program.

従来、PC(Personal Computer)やPOSシステムの入力端末である商品処理装置等の情報処理装置では、HDD(Hard Disk Drive)等の磁気ディスク装置を補助記憶装置として用いている。係る磁気ディスク装置は、記録媒体となる磁気ディスクと、磁気ディスクに読み書きを行う磁気ヘッドとを有し、磁気ヘッドは磁気ディスクの回転によって生じる空気流により磁気ディスク上を数ミクロンの高さで浮上している。また、磁気ディスク上には、磁気ヘッドとの摩擦を軽減するため潤滑剤が塗布されている。   2. Description of the Related Art Conventionally, in an information processing apparatus such as a product processing apparatus which is an input terminal of a PC (Personal Computer) or a POS system, a magnetic disk device such as an HDD (Hard Disk Drive) is used as an auxiliary storage device. Such a magnetic disk device has a magnetic disk as a recording medium and a magnetic head for reading and writing to the magnetic disk, and the magnetic head floats on the magnetic disk at a height of several microns by an air flow generated by the rotation of the magnetic disk. is doing. A lubricant is applied on the magnetic disk in order to reduce friction with the magnetic head.

磁気ヘッドは、データの読み込み又は書き込みのアクセスがある時は磁気ディスク上を移動することになるが、アクセスがない時には磁気ディスク上の同じ位置に留まる定点浮上の状態となる。この定点浮上の状態が長時間続くと、磁気ディスク上の潤滑剤に偏りが生じたり、磁気ディスク上に磁気ヘッドが吸着したりする可能性があるため、データの読み書きを正常に行うことができなくなるという問題がある。また、定点浮上時に衝撃が加わると、磁気ヘッドと磁気ディスクとが接触することで磁気ディスク面が破損する可能性がある。そのため、従来、磁気ディスクへのアクセスが一定時間ない時や衝撃を検知した時に、磁気ヘッドをランプ(ramp)と呼ばれる退避領域に退避させるロード/アンロード方式の磁気ディスク装置が用いられている。例えば、特許文献1には、落下状態が検知された場合に、磁気ヘッドを退避領域に移動させる技術が開示されている。   The magnetic head moves on the magnetic disk when there is data read or write access, but when there is no access, the magnetic head floats at a fixed point that remains at the same position on the magnetic disk. If this fixed point floating state continues for a long time, the lubricant on the magnetic disk may be biased or the magnetic head may be attracted to the magnetic disk, so data can be read and written normally. There is a problem of disappearing. Further, if an impact is applied when the fixed point floats, the magnetic disk surface may be damaged due to the contact between the magnetic head and the magnetic disk. For this reason, conventionally, a load / unload type magnetic disk device that retreats a magnetic head to a retreat area called a ramp when there is no access to the magnetic disk for a predetermined time or when an impact is detected is used. For example, Patent Document 1 discloses a technique for moving a magnetic head to a retreat area when a falling state is detected.

ところで、磁気ヘッドを退避領域に退避させるアンロード動作の回数にはその物理的な構成上制限があり、例えば、40万回程度耐久できるよう設計されている。しかしながら、磁気ディスクへの間欠的なアクセスを長期間行う等、使用環境によっては早くに制限回数に達してしまう可能性があるため、不用意にアンロード動作を行わせないための技術が望まれている。なお、特許文献1の技術では、磁気ディスク装置の磁気ヘッドを迅速かつ確実に退避領域に移動させることを目的としたものであるため、上記問題を解決することはできない。   By the way, the number of unload operations for retracting the magnetic head to the retracting area is limited due to its physical configuration, and is designed to be able to withstand, for example, about 400,000 times. However, there is a possibility that the limited number of times may be reached early depending on the usage environment, such as intermittent access to the magnetic disk for a long period of time, so a technique to prevent the unloading operation from being inadvertently desired is desired. ing. The technique of Patent Document 1 aims to move the magnetic head of the magnetic disk device to the retreat area quickly and reliably, and thus cannot solve the above problem.

本発明は上記に鑑みてなされたものであって、アンロード動作が不用意に行われてしまうことを抑制することが可能な磁気ディスク装置及びプログラムを提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a magnetic disk device and a program that can prevent an unload operation from being performed carelessly.

上述した課題を解決し、目的を達成するために、本発明は、磁気ディスクと、当該磁気ディスク上を移動する磁気ヘッドと、前記磁気ディスクの外側に前記磁気ヘッドを退避させるための退避領域とを備えた磁気ディスク装置において、前記磁気ヘッドが直近に移動したタイミングから第1時間が経過したか否かを判定する判定手段と、前記判定手段が前記第1時間を経過したと判定した場合、前記磁気ヘッドを前記退避領域以外の位置に移動させるアンロード回避手段と、前記磁気ヘッドが前記磁気ディスク上の同じ位置に留まる定点浮上状態が第2時間継続した場合、前記磁気ヘッドを前記退避領域に移動させるアンロード処理手段と、を備え、前記第1時間は前記第2時間よりも短時間に設定され、前記アンロード回避手段は、前記磁気ヘッドの移動履歴に基づいて、当該アンロード回避手段による前記磁気ディスク上での移動と、前記アンロード処理手段による前記退避領域への移動とを切り替えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention includes a magnetic disk, a magnetic head that moves on the magnetic disk, and a retreat area for retracting the magnetic head outside the magnetic disk. In the magnetic disk device comprising: a determination unit that determines whether or not a first time has elapsed since the timing when the magnetic head moved most recently; and a determination unit that determines that the first time has elapsed, When the unloading avoiding means for moving the magnetic head to a position other than the retreat area and the fixed point floating state where the magnetic head remains at the same position on the magnetic disk continues for a second time , the magnetic head is moved to the retreat area. Unload processing means for moving the first time to a time shorter than the second time, and the unload avoiding means Based on the movement history of the head, and switches the movement on the magnetic disk by the unloading avoiding means, and a movement to the save area by the unloading means.

また、本発明は、磁気ディスクと、当該磁気ディスク上を移動する磁気ヘッドと、前記磁気ディスクの外側に前記磁気ヘッドを退避させるための退避領域とを備えた磁気ディスク装置で実行されるプログラムであって、前記磁気ヘッドが直近に移動したタイミングから第1時間が経過したか否かを判定する判定手段と、前記判定手段が前記第1時間を経過したと判定した場合、前記磁気ヘッドを前記退避領域以外の位置に移動させるアンロード回避手段と、前記磁気ヘッドが前記磁気ディスク上の同じ位置に留まる定点浮上状態が第2時間継続した場合、前記磁気ヘッドを前記退避領域に移動させるアンロード処理手段と、して機能させ、前記第1時間は前記第2時間よりも短時間に設定され、前記アンロード回避手段は、前記磁気ヘッドの移動履歴に基づいて、当該アンロード回避手段による前記磁気ディスク上での移動と、前記アンロード処理手段による前記退避領域への移動とを切り替えることを特徴とする。 The present invention is also a program executed by a magnetic disk device comprising a magnetic disk, a magnetic head that moves on the magnetic disk, and a retraction area for retracting the magnetic head outside the magnetic disk. And determining means for determining whether or not a first time has elapsed from the timing at which the magnetic head has moved most recently, and if the determining means determines that the first time has elapsed, the magnetic head is An unload avoiding means for moving to a position other than the retreat area, and an unload for moving the magnetic head to the retreat area when the fixed-point floating state where the magnetic head remains at the same position on the magnetic disk continues for a second time The first time is set to be shorter than the second time, and the unload avoidance means is configured to operate the magnetic head. Based on the dynamic history, and switches the movement on the magnetic disk by the unloading avoiding means, and a movement to the save area by the unloading means.

本発明によれば、アンロード動作が不用意に行われてしまうことを抑制することが可能な磁気ディスク装置及びプログラムを提供することができる。   According to the present invention, it is possible to provide a magnetic disk device and a program that can prevent an unload operation from being performed carelessly.

図1は、磁気ディスク装置の構成を概略的に示す図である。FIG. 1 is a diagram schematically showing the configuration of a magnetic disk device. 図2は、図1に示したコマンド処理部が実行するアンロード回避動作の手順を示すフローチャートである。FIG. 2 is a flowchart showing a procedure of an unload avoidance operation executed by the command processing unit shown in FIG.

以下、添付図面を参照して、本発明に係る磁気ディスク装置及びプログラムの実施形態を詳細に説明する。なお、以下に説明する実施形態により本発明が限定されるものではない。   Embodiments of a magnetic disk device and a program according to the present invention will be described below in detail with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments described below.

図1は、本実施形態にかかる磁気ディスク装置の構成を示すブロック図である。同図に示すように、磁気ディスク装置100は、ホスト装置200に接続され、当該ホスト装置200の補助記憶装置として機能する。   FIG. 1 is a block diagram showing the configuration of the magnetic disk device according to the present embodiment. As shown in the figure, the magnetic disk device 100 is connected to a host device 200 and functions as an auxiliary storage device of the host device 200.

ここで、ホスト装置200は、PCやPOS端末等の情報処理装置であって、磁気ディスク装置100に対し、データの読み出しを指示するリードコマンド、データの書き込みを指示するライトコマンド、所定位置への磁気ヘッド21の移動を指示するシークコマンド等の各種コマンドを出力する。なお、リードコマンド及びシークコマンドには、アクセス先となるハードディスク10上のトラック及びデータセクタを指定する情報(例えば、LBA(Logical Block Addressing)番地等)が含まれているものとする。   Here, the host device 200 is an information processing device such as a PC or a POS terminal. The host device 200 is a read command for instructing the magnetic disk device 100 to read data, a write command for instructing data writing, or a predetermined position. Various commands such as a seek command for instructing movement of the magnetic head 21 are output. It is assumed that the read command and the seek command include information (for example, an LBA (Logical Block Addressing) address) specifying a track and a data sector on the hard disk 10 to be accessed.

磁気ディスク装置100は、基台B上に設けられたハードディスク10と、磁気ヘッド21、アーム22、ボイスコイルモータ23、フレキシブル基板24等を有したアクチュエータ20と、アンロード動作時の避難領域となるランプ30と、磁気ディスク装置100内部のプリント基板上に設けられたHDD制御部40とを備え、ホスト接続部48を介してホスト装置200に接続されている。   The magnetic disk device 100 serves as an evacuation area during the unloading operation, and the hard disk 10 provided on the base B, the actuator 20 having the magnetic head 21, the arm 22, the voice coil motor 23, the flexible substrate 24, and the like. The lamp 30 and an HDD control unit 40 provided on a printed circuit board inside the magnetic disk device 100 are connected to the host device 200 via a host connection unit 48.

磁気ディスクであるハードディスク10は、一枚または複数枚設けられており、図示しないスピンドルモータにより高速回転する。ハードディスク10上には、当該ハードディスク10の中心から半径方向にかけて、サーボデータ11が放射状に磁気的に書き込まれている。サーボデータ11にはトラックの位置情報が予め埋め込まれており、各サーボデータ11間にはデータを記録するためのデータセクタが設けられている。   One or a plurality of hard disks 10 that are magnetic disks are provided, and are rotated at high speed by a spindle motor (not shown). Servo data 11 is radially and magnetically written on the hard disk 10 from the center of the hard disk 10 in the radial direction. The servo data 11 is preliminarily embedded with track position information, and data sectors for recording data are provided between the servo data 11.

アクチュエータ20では、図1に示すように磁気ヘッド21がアーム22に保持されている。磁気ヘッド21は、サーボデータ11からトラックの位置情報を読み出し、またデータセクタに対しデータの読み書きを行う。アーム22は、ボイスコイルモータ23の駆動力により軸Aを中心とした回転運動を行い、磁気ヘッド21をハードディスク10の半径方向に移動させる。ボイスコイルモータ23は、マグネットや駆動コイル等からなり(何れも図示せず)、後述するD/A変換部47から供給される駆動電流により駆動する。また、ハードディスク10から読み出されたデータや、ハードディスク10への書き込み対象となるデータの授受には、アクチュエータ20とハードディスク10の基台Bとを繋ぐように固定されたフレキシブル基板24が使用される。   In the actuator 20, a magnetic head 21 is held by an arm 22 as shown in FIG. The magnetic head 21 reads track position information from the servo data 11 and reads / writes data from / to the data sector. The arm 22 rotates around the axis A by the driving force of the voice coil motor 23 to move the magnetic head 21 in the radial direction of the hard disk 10. The voice coil motor 23 includes a magnet, a drive coil, and the like (both not shown), and is driven by a drive current supplied from a D / A conversion unit 47 described later. Further, a flexible substrate 24 fixed so as to connect the actuator 20 and the base B of the hard disk 10 is used to exchange data read from the hard disk 10 and data to be written to the hard disk 10. .

ランプ30は、ハードディスク10の外側で且つ磁気ヘッド21の移動可能な位置に設けられている。このランプ30は、HDD制御部40の制御の下、ホスト装置200(磁気ディスク装置100)の終了時や衝撃の検出時等において、磁気ヘッド21の退避領域として用いられる。なお、ランプ30の構成は公知・公用のものを適用することができる。   The ramp 30 is provided outside the hard disk 10 and at a position where the magnetic head 21 can move. The ramp 30 is used as a retreat area for the magnetic head 21 when the host device 200 (magnetic disk device 100) is terminated or when an impact is detected under the control of the HDD control unit 40. In addition, the structure of the lamp | ramp 30 can apply a well-known and public thing.

HDD制御部40は、図1に示すように、A/D変換部41と、衝撃検出部42と、アンロード処理部43と、コマンド処理部44と、記憶部45と、バッファ46と、D/A変換部47と、ホスト接続部48と、を備えている。   As shown in FIG. 1, the HDD control unit 40 includes an A / D conversion unit 41, an impact detection unit 42, an unload processing unit 43, a command processing unit 44, a storage unit 45, a buffer 46, a D, / A conversion unit 47 and host connection unit 48 are provided.

A/D変換部41は、磁気ヘッド21によりハードディスク10から読み出されたデータやトラックの位置情報をA/D変換し、コマンド処理部44に出力する。   The A / D conversion unit 41 A / D converts the data read from the hard disk 10 by the magnetic head 21 and the track position information, and outputs them to the command processing unit 44.

衝撃検出部42は、例えば加速度センサ等の衝撃検出装置を有して構成され、磁気ディスク装置100に対する衝撃や所定の角度以上の傾きを検出すると、磁気ヘッド21のランプ30への移動を指示する制御信号をD/A変換部47に出力する。これにより、衝撃検出部42は、衝撃等を起因とする磁気ヘッド21によるハードディスク10の破損を防止する。   The impact detection unit 42 is configured to include an impact detection device such as an acceleration sensor, for example, and instructs the movement of the magnetic head 21 to the ramp 30 when detecting an impact on the magnetic disk device 100 or an inclination greater than a predetermined angle. The control signal is output to the D / A converter 47. Thereby, the impact detection unit 42 prevents the hard disk 10 from being damaged by the magnetic head 21 due to impact or the like.

アンロード処理部43は、マイクロプロセッサ等の処理装置であって、ホスト接続部48を通じて入力されるホスト装置200からのコマンドに基づき、磁気ヘッド21をランプ30へ退避させるアンロード動作を行う。   The unload processing unit 43 is a processing device such as a microprocessor, and performs an unloading operation for retracting the magnetic head 21 to the ramp 30 based on a command from the host device 200 input through the host connection unit 48.

具体的に、アンロード処理部43は、磁気ディスク装置100の終了時において、磁気ヘッド21のランプ30への移動を指示する制御信号をD/A変換部47に出力する。これにより、アンロード処理部43は、磁気ディスク装置100の停止時における磁気ヘッド21によるハードディスク10の破損を防止する。   Specifically, the unload processing unit 43 outputs a control signal for instructing the movement of the magnetic head 21 to the ramp 30 to the D / A conversion unit 47 when the magnetic disk device 100 is terminated. As a result, the unload processing unit 43 prevents the hard disk 10 from being damaged by the magnetic head 21 when the magnetic disk device 100 is stopped.

また、アンロード処理部43は、水晶振動子等の計時装置が発振する一定周期の信号に基づき、コマンドが未入力の時に発生する磁気ヘッド21の定点浮上の状態が所定時間(以下、アンロード時間という)継続したと判断すると、磁気ヘッド21のランプ30への移動を指示する制御信号をD/A変換部47に出力する。これにより、アンロード処理部43は、定点浮上を起因とする磁気ヘッド21によるハードディスク10の破損を防止する。   Further, the unload processing unit 43 determines that the fixed point levitation state of the magnetic head 21 that occurs when no command is input based on a signal with a fixed period that is oscillated by a timing device such as a crystal oscillator, for a predetermined time (hereinafter, unloading) If it is determined that the operation has continued (time), a control signal for instructing the movement of the magnetic head 21 to the ramp 30 is output to the D / A converter 47. As a result, the unload processing unit 43 prevents the hard disk 10 from being damaged by the magnetic head 21 due to fixed point floating.

コマンド処理部44は、マイクロプロセッサ等の処理装置であって、バッファ46に記憶された所定のプログラムと協働し、磁気ヘッド21の移動先を指示する制御信号をD/A変換部47に出力することで、ハードディスク10上における磁気ヘッド21の配置位置を制御する。   The command processing unit 44 is a processing device such as a microprocessor, and cooperates with a predetermined program stored in the buffer 46 to output a control signal indicating the movement destination of the magnetic head 21 to the D / A conversion unit 47. Thus, the arrangement position of the magnetic head 21 on the hard disk 10 is controlled.

具体的に、コマンド処理部44は、ホスト接続部48を通じて入力されるホスト装置200からのコマンド内容に応じて、磁気ヘッド21の移動先を指示した制御信号をボイスコイルモータ23に出力することで、磁気ヘッド21をハードディスク10上のアクセスポイントに移動させる。ここで、リードコマンドであった場合、コマンド処理部44は磁気ヘッド21により読み取られたデータを、ホスト接続部48を通じてホスト装置200へ送出する。また、ライトコマンドであった場合、コマンド処理部44はホスト装置200から入力された書き込み用のデータをD/A変換部47に出力することで、磁気ヘッド21にハードディスク10への書き込みを行わせる。   Specifically, the command processing unit 44 outputs to the voice coil motor 23 a control signal instructing the movement destination of the magnetic head 21 in accordance with the content of the command from the host device 200 input through the host connection unit 48. Then, the magnetic head 21 is moved to the access point on the hard disk 10. If the command is a read command, the command processing unit 44 sends the data read by the magnetic head 21 to the host device 200 through the host connection unit 48. If the command is a write command, the command processing unit 44 outputs the write data input from the host device 200 to the D / A conversion unit 47, thereby causing the magnetic head 21 to write to the hard disk 10. .

さらに、コマンド処理部44は、水晶振動子等の計時装置が発振する一定周期の信号に基づき、直近に行った磁気ヘッド21の移動のタイミングから所定時間(以下、コマンド待機時間という)経過したと判定すると、磁気ヘッド21の位置を退避領域以外の位置に移動させることを指示した制御信号を、D/A変換部47に出力する。ここで、コマンド待機時間はアンロード時間よりも短時間であるとする。つまり、コマンド処理部44は、磁気ヘッド21がコマンド待機時間の間定点浮上した際に、磁気ヘッド21をランプ30以外のハードディスク10上の他の位置に移動させる動作(以下、アンロード回避動作という)を行うことで、アンロード処理部43によりアンロード動作が行われてしまうことを回避する。   Further, the command processing unit 44 determines that a predetermined time (hereinafter referred to as a command waiting time) has elapsed from the timing of the most recent movement of the magnetic head 21 based on a signal having a fixed period oscillated by a timing device such as a crystal resonator. If determined, a control signal instructing to move the position of the magnetic head 21 to a position other than the retreat area is output to the D / A converter 47. Here, it is assumed that the command waiting time is shorter than the unloading time. That is, the command processing unit 44 moves the magnetic head 21 to another position on the hard disk 10 other than the ramp 30 when the magnetic head 21 floats at a fixed point during the command waiting time (hereinafter referred to as unload avoiding operation). ) To avoid the unload operation unit 43 from performing an unload operation.

アンロード回避動作に用いる制御信号は、磁気ヘッド21を移動可能なものであれば特に問わないものとする。例えば、コマンド処理部44がリードコマンドやシークコマンド等のコマンドを擬似的に生成することで、磁気ヘッド21の移動を制御する形態としてもよい。なお、リードコマンドを用いて指示した場合には、磁気ヘッド21により読み取られたデータはホスト装置200へ送出する前に破棄するものとする。また、アンロード回避動作時における磁気ヘッド21の移動先は、従前の位置とは異なる位置であることが好ましく、例えば、ランダムに決定する形態としてもよいし、所定のアドレス間隔(例えば、10や50)で順次移動させる形態としてもよい。   The control signal used for the unloading avoidance operation is not particularly limited as long as it can move the magnetic head 21. For example, the movement of the magnetic head 21 may be controlled by the command processing unit 44 generating a pseudo command such as a read command or a seek command. When instructed by using a read command, the data read by the magnetic head 21 is discarded before being sent to the host device 200. Further, the movement destination of the magnetic head 21 during the unloading avoidance operation is preferably a position different from the previous position. For example, the magnetic head 21 may be determined at random, or may have a predetermined address interval (for example, 10 or 50) may be sequentially moved.

記憶部45は、不揮発性の記憶媒体であって、アンロード処理部43及びコマンド処理部44等が実行する、上述したアンロード動作及びアンロード回避動作に係る各種の制御プログラムや設定情報(例えば、アンロード時間、コマンド待機時間)を記憶している。また、記憶部45は、コマンド処理部44が実行する、磁気ヘッド21の位置決めに係る各種の制御プログラムや設定情報(例えば、誤差修正のためのフィルタ係数)を記憶している。   The storage unit 45 is a non-volatile storage medium, and various control programs and setting information (for example, the unload operation and the unload avoidance operation described above) executed by the unload processing unit 43, the command processing unit 44, and the like. , Unload time, command waiting time). Further, the storage unit 45 stores various control programs and setting information (for example, filter coefficients for error correction) related to the positioning of the magnetic head 21 executed by the command processing unit 44.

バッファ46は、ホスト装置200側と送受信するデータを一時的に記憶するためのバッファメモリである。D/A変換部47は、コマンド処理部44からの制御信号をアナログ信号に変換し、このアナログ信号に応じた駆動電流をボイスコイルモータ23に供給することで、制御信号で指示された位置に磁気ヘッド21を移動させる。   The buffer 46 is a buffer memory for temporarily storing data to be transmitted / received to / from the host device 200 side. The D / A conversion unit 47 converts the control signal from the command processing unit 44 into an analog signal, and supplies a driving current corresponding to the analog signal to the voice coil motor 23, so that the position designated by the control signal is obtained. The magnetic head 21 is moved.

ホスト接続部48は、ATA(Advanced Technology Attachment)やSATA(Serial ATA)等の規格に準じたインタフェースを有し、ホスト装置200との間でコマンドやデータの送受信を行う機能部である。具体的に、ホスト接続部48は、ホスト装置200から送信されるリードコマンドやライトコマンド、シークコマンドを受信したり、コマンド処理部44とのデータの授受をバッファ46を介して行う。   The host connection unit 48 has an interface conforming to a standard such as ATA (Advanced Technology Attachment) or SATA (Serial ATA), and is a functional unit that transmits and receives commands and data to and from the host device 200. Specifically, the host connection unit 48 receives a read command, a write command, and a seek command transmitted from the host device 200, and exchanges data with the command processing unit 44 via the buffer 46.

以下、図2を参照して、磁気ディスク装置100の動作について説明する。ここで、図2は、コマンド処理部44が実行するアンロード回避動作の手順を示すフローチャートである。   Hereinafter, the operation of the magnetic disk device 100 will be described with reference to FIG. Here, FIG. 2 is a flowchart showing a procedure of an unload avoidance operation executed by the command processing unit 44.

まず、コマンド処理部44は、ホスト装置200から入力されたコマンドを受け付けると、このコマンド内容に応じた位置へ磁気ヘッド21を移動させる制御信号をD/A変換部47へ出力し、磁気ヘッド21を移動させる(ステップS11)。   First, when the command processing unit 44 receives a command input from the host device 200, the command processing unit 44 outputs a control signal for moving the magnetic head 21 to a position corresponding to the command content to the D / A conversion unit 47. Is moved (step S11).

続いて、コマンド処理部44は、直近に行った磁気ヘッド21の移動のタイミングからコマンド待機時間が経過したか否かを判定する(ステップS12)。ここで、コマンド待機時間を経過していないと判定した場合(ステップS12;No)、コマンド処理部44は、ホスト装置200から新たなコマンドが入力されたか否かを判定する(ステップS13)。   Subsequently, the command processing unit 44 determines whether or not the command waiting time has elapsed from the timing of the most recent movement of the magnetic head 21 (step S12). If it is determined that the command waiting time has not elapsed (step S12; No), the command processing unit 44 determines whether a new command has been input from the host device 200 (step S13).

ステップS13において、新たなコマンドの入力を確認した場合には(ステップS13;Yes)、ステップS11に再び戻る。また、ステップS13において、新たなコマンドが入力されない場合には(ステップS13;No)、ステップS12に再び戻る。   In step S13, when the input of a new command is confirmed (step S13; Yes), it returns to step S11 again. Moreover, when a new command is not input in step S13 (step S13; No), it returns to step S12 again.

一方、ステップS12において、コマンド待機時間を経過したと判定した場合(ステップS12;Yes)、コマンド処理部44は、磁気ヘッド21をランプ30以外のハードディスク10上の他の位置へ移動させる制御信号をD/A変換部47へ出力することで、磁気ヘッド21をハードディスク10上の異なる位置に移動させ(ステップS14)、ステップS12に再び戻る。   On the other hand, if it is determined in step S12 that the command waiting time has elapsed (step S12; Yes), the command processing unit 44 sends a control signal for moving the magnetic head 21 to another position on the hard disk 10 other than the ramp 30. By outputting to the D / A converter 47, the magnetic head 21 is moved to a different position on the hard disk 10 (step S14), and the process returns to step S12 again.

なお、本処理により実現されるコマンド処理部44のアンロード回避動作は、コマンド待機時間が経過する毎に行う形態としてもよいし、磁気ヘッド21の移動履歴に基づいて、アンロード回避動作とアンロード動作とを切り替えて行う形態としてもよい。例えば、アンロード回避動作をコマンド待機時間が経過する毎に行った場合、アンロード処理部43による定点浮上時のアンロード動作を完全に回避することができる。   Note that the unload avoidance operation of the command processing unit 44 realized by this processing may be performed every time the command waiting time elapses, or based on the movement history of the magnetic head 21, the unload avoidance operation and the unload avoidance operation may be performed. It is good also as a form performed by switching load operation. For example, when the unload avoidance operation is performed every time the command waiting time elapses, the unload operation when the fixed point ascends by the unload processing unit 43 can be completely avoided.

また、磁気ヘッド21の移動履歴に基づき、アンロード回避動作とアンロード動作とを切り替える形態としては、コマンド処理部44が、アンロード回避動作を所定回数(例えば、5回)連続で行った後には、コマンド処理部44がアンロード回避動作を無効化することで、アンロード処理部43にアンロード動作を行わせる形態としてもよい。また、予め定められた単位時間(例えば、5分)の間に、アンロード処理部43によるアンロード動作が所定回数(例えば、3回以上)行われた場合に、コマンド処理部44がアンロード回避動作を開始する形態としてもよい。   Further, as a mode of switching between the unload avoidance operation and the unload operation based on the movement history of the magnetic head 21, the command processing unit 44 performs the unload avoidance operation continuously for a predetermined number of times (for example, 5 times). The command processing unit 44 may invalidate the unload avoiding operation so that the unload processing unit 43 performs the unload operation. In addition, when the unload operation by the unload processing unit 43 is performed a predetermined number of times (for example, three times or more) during a predetermined unit time (for example, 5 minutes), the command processing unit 44 unloads. The avoidance operation may be started.

以上のように、本実施形態の磁気ディスク装置100によれば、磁気ヘッド21の移動のタイミングからコマンド待機時間が経過した場合、この磁気ヘッド21をランプ30以外のハードディスク10上の異なる位置に移動させることができるため、アンロード処理部43によるアンロード動作が不用意に行われてしまうことを抑制することができる。これにより、アンロード動作が行われる回数の進みを抑制することができるため、磁気ディスク装置の寿命を延命することが可能となる。   As described above, according to the magnetic disk device 100 of this embodiment, when the command waiting time has elapsed from the movement timing of the magnetic head 21, the magnetic head 21 is moved to a different position on the hard disk 10 other than the ramp 30. Therefore, the unloading operation by the unload processing unit 43 can be prevented from being performed carelessly. As a result, the progress of the number of unload operations can be suppressed, and the life of the magnetic disk device can be extended.

以上、本発明の実施の形態について説明したが、本発明はこれに限定されるものではなく、本発明の主旨を逸脱しない範囲での種々の変更、置換、追加等が可能である。   The embodiment of the present invention has been described above, but the present invention is not limited to this, and various modifications, substitutions, additions, and the like are possible without departing from the spirit of the present invention.

例えば、上記実施形態では、アンロード処理部43とコマンド処理部44とを個別に設ける形態としたが、一のマイクロプロセッサでアンロード処理部43とコマンド処理部44との機能を実現する形態としてもよい。   For example, in the above embodiment, the unload processing unit 43 and the command processing unit 44 are individually provided. However, as a mode in which the functions of the unload processing unit 43 and the command processing unit 44 are realized by one microprocessor. Also good.

また、ハードディスクが複数枚設けられている場合には、全てのハードディスクへのアクセスに対してアンロード回避動作時を行う形態としてもよいし、予め定められたハードディスクに対してのみアンロード回避動作時を行う形態としてもよい。   In addition, when multiple hard disks are provided, an unload avoidance operation may be performed for access to all hard disks, or an unload avoidance operation may be performed only for a predetermined hard disk. It is good also as a form which performs.

また、上記実施形態では、コマンド処理部44が実行するプログラムを記憶部45に記憶する形態としたが、これに限らず、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD等の記録媒体に記録されて提供される形態としてもよい。   In the above-described embodiment, the program executed by the command processing unit 44 is stored in the storage unit 45. However, the present invention is not limited to this, and a CD-ROM, a flexible disk can be installed in an installable format or an executable format file. (FD), a CD-R, a DVD, or the like may be recorded and provided.

また、上記プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよいし、インターネット等のネットワーク経由で提供または配布するように構成してもよい。   Further, the program may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network, or provided or distributed via a network such as the Internet. It may be configured.

100 磁気ディスク装置
10 ハードディスク
11 サーボデータ
20 アクチュエータ
21 磁気ヘッド
22 アーム
23 ボイスコイルモータ
24 フレキシブル基板
30 ランプ
40 HDD制御部
41 A/D変換部
42 衝撃検出部
43 アンロード処理部
44 コマンド処理部
45 記憶部
46 バッファ
47 D/A変換部
48 ホスト接続部
DESCRIPTION OF SYMBOLS 100 Magnetic disk apparatus 10 Hard disk 11 Servo data 20 Actuator 21 Magnetic head 22 Arm 23 Voice coil motor 24 Flexible board 30 Lamp 40 HDD control part 41 A / D conversion part 42 Impact detection part 43 Unload processing part 44 Command processing part 45 Memory | storage 46 Buffer 47 D / A converter 48 Host connection

特開2004−127364公報JP 2004-127364 A

Claims (4)

磁気ディスクと、当該磁気ディスク上を移動する磁気ヘッドと、前記磁気ディスクの外側に前記磁気ヘッドを退避させるための退避領域とを備えた磁気ディスク装置において、
前記磁気ヘッドが直近に移動したタイミングから第1時間が経過したか否かを判定する判定手段と、
前記判定手段が前記第1時間を経過したと判定した場合、前記磁気ヘッドを前記退避領域以外の位置に移動させるアンロード回避手段と、
前記磁気ヘッドが前記磁気ディスク上の同じ位置に留まる定点浮上状態が第2時間継続した場合、前記磁気ヘッドを前記退避領域に移動させるアンロード処理手段と、
を備え、
前記第1時間は前記第2時間よりも短時間に設定され、
前記アンロード回避手段は、前記磁気ヘッドの移動履歴に基づいて、当該アンロード回避手段による前記磁気ディスク上での移動と、前記アンロード処理手段による前記退避領域への移動とを切り替えることを特徴とする磁気ディスク装置。
In a magnetic disk device comprising: a magnetic disk; a magnetic head that moves on the magnetic disk; and a retraction area for retracting the magnetic head outside the magnetic disk;
Determining means for determining whether or not a first time has elapsed from the timing at which the magnetic head has moved most recently;
An unloading avoiding means for moving the magnetic head to a position other than the retreat area when the determining means determines that the first time has passed;
Unload processing means for moving the magnetic head to the retreat area when the fixed-point floating state where the magnetic head remains at the same position on the magnetic disk continues for a second time;
With
The first time is set to be shorter than the second time,
The unload avoiding means switches between movement on the magnetic disk by the unload avoiding means and movement to the retreat area by the unload processing means based on the movement history of the magnetic head. magnetic disk apparatus according to.
前記アンロード回避手段は、前記磁気ヘッドを、前記磁気ディスク上の異なる位置に移動させることを特徴とする請求項1に記載の磁気ディスク装置。   The magnetic disk apparatus according to claim 1, wherein the unload avoiding means moves the magnetic head to a different position on the magnetic disk. 前記アンロード回避手段は、リードコマンド又はシークコマンドを用いて前記磁気ヘッドを移動させることを特徴とする請求項1又は2に記載の磁気ディスク装置。   3. The magnetic disk apparatus according to claim 1, wherein the unload avoiding means moves the magnetic head using a read command or a seek command. 磁気ディスクと、当該磁気ディスク上を移動する磁気ヘッドと、前記磁気ディスクの外側に前記磁気ヘッドを退避させるための退避領域とを備えた磁気ディスク装置で実行されるプログラムであって、A program executed in a magnetic disk device comprising a magnetic disk, a magnetic head that moves on the magnetic disk, and a retraction area for retracting the magnetic head outside the magnetic disk,
前記磁気ヘッドが直近に移動したタイミングから第1時間が経過したか否かを判定する判定手段と、Determining means for determining whether or not a first time has elapsed from the timing at which the magnetic head has moved most recently;
前記判定手段が前記第1時間を経過したと判定した場合、前記磁気ヘッドを前記退避領域以外の位置に移動させるアンロード回避手段と、An unloading avoiding means for moving the magnetic head to a position other than the retreat area when the determining means determines that the first time has passed;
前記磁気ヘッドが前記磁気ディスク上の同じ位置に留まる定点浮上状態が第2時間継続した場合、前記磁気ヘッドを前記退避領域に移動させるアンロード処理手段と、Unload processing means for moving the magnetic head to the retreat area when the fixed-point floating state where the magnetic head remains at the same position on the magnetic disk continues for a second time;
して機能させ、To function,
前記第1時間は前記第2時間よりも短時間に設定され、The first time is set to be shorter than the second time,
前記アンロード回避手段は、前記磁気ヘッドの移動履歴に基づいて、当該アンロード回避手段による前記磁気ディスク上での移動と、前記アンロード処理手段による前記退避領域への移動とを切り替えることを特徴とするプログラム。The unload avoiding means switches between movement on the magnetic disk by the unload avoiding means and movement to the retreat area by the unload processing means based on the movement history of the magnetic head. Program.
JP2009274698A 2009-12-02 2009-12-02 Magnetic disk apparatus and program Expired - Fee Related JP4891382B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009274698A JP4891382B2 (en) 2009-12-02 2009-12-02 Magnetic disk apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009274698A JP4891382B2 (en) 2009-12-02 2009-12-02 Magnetic disk apparatus and program

Publications (2)

Publication Number Publication Date
JP2011118977A JP2011118977A (en) 2011-06-16
JP4891382B2 true JP4891382B2 (en) 2012-03-07

Family

ID=44284127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009274698A Expired - Fee Related JP4891382B2 (en) 2009-12-02 2009-12-02 Magnetic disk apparatus and program

Country Status (1)

Country Link
JP (1) JP4891382B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11185414A (en) * 1997-12-24 1999-07-09 Hitachi Ltd Magnetic disk device
KR100780939B1 (en) * 2005-06-29 2007-12-03 삼성전자주식회사 Unload standby time controlling method and apparatus for the same
JP4220986B2 (en) * 2005-07-11 2009-02-04 富士通株式会社 Head load / unload control method and storage device

Also Published As

Publication number Publication date
JP2011118977A (en) 2011-06-16

Similar Documents

Publication Publication Date Title
JP2007265600A (en) Disk drive write method
JP2009032344A (en) Disk drive device and method of removing substance deposited on head
JP4913578B2 (en) Hard disk drive voice coil motor driving method, head unloading apparatus and recording medium suitable therefor
US6134071A (en) Disk drive, load/unload unit, and control method thereof
JP2005166246A (en) Head unlatching device and head unlatching control method for data storage device, and hard disk drive
JP2006185504A (en) Data storage device and its control method
JP4858926B2 (en) Medium storage device read / write processing method and medium storage device
US8125729B2 (en) Disk drive and error-recovery processing method
US7426086B2 (en) Off track write protection for data storage device
JP4891382B2 (en) Magnetic disk apparatus and program
JP2001202728A (en) Disk storage device, system mounted with the device and vehicle mounted with the device
KR920006297B1 (en) Actuator control method of hard disc driver
JP2009266301A (en) Disk drive device and control,and method of unloading corresponding to fall detection in disk drive device
JP2007018576A (en) Magnetic disk drive
JP2007293934A (en) Disk device and method for controlling the same
JP2018163725A (en) Magnetic disk device, controller and seek method
US6738217B2 (en) Method and apparatus for controlling access to disk upon detection of condensation
JP4959641B2 (en) Information storage device
EP1760697B1 (en) Hard disk drive, method for parking magnetic head of hard disk drive, and computer-readable recording medium recording the method
US20240021215A1 (en) Load/unload ramp for high-capacity hard disk drive
JP2005116159A (en) Method of determining and applying track zero position of disk drive, and disk drive using the same
KR100640624B1 (en) Method for controlling an unloading position in disk drive
JP2003108314A (en) Data storage device, computer device, write data processing device and write data processing method
JP2021086646A (en) Recording/reproducing device
JP2011138600A (en) Approximation touchdown detection method, head floating height adjustment method, and disk drive

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111011

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111213

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111215

R150 Certificate of patent or registration of utility model

Ref document number: 4891382

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141222

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees