JPS6286580A - How to recognize the magnetic disk model - Google Patents
How to recognize the magnetic disk modelInfo
- Publication number
- JPS6286580A JPS6286580A JP22671285A JP22671285A JPS6286580A JP S6286580 A JPS6286580 A JP S6286580A JP 22671285 A JP22671285 A JP 22671285A JP 22671285 A JP22671285 A JP 22671285A JP S6286580 A JPS6286580 A JP S6286580A
- Authority
- JP
- Japan
- Prior art keywords
- magnetic disk
- head
- disk
- cylinder
- recognize
- 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.)
- Pending
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は磁気ディスク装置の制御方法に係り、特に、磁
気ディスクの機種を検知するのに好適なID情報の記録
方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a method of controlling a magnetic disk device, and particularly to a method of recording ID information suitable for detecting the model of a magnetic disk.
本発明の対象は磁気ディスク制御装置が、自動的に接続
された磁気ディスクのタイプを認識してデータをアクセ
スするための方法であり、関連する技術としては、特開
昭58−97760号公報、特開F@58−51566
号公報、特開昭58−51465号公報、特開昭58−
72261号公報等がある。The subject of the present invention is a method for a magnetic disk control device to automatically recognize the type of a connected magnetic disk and access data. Tokukai F@58-51566
No. 58-51465, JP-A No. 58-51465, JP-A No. 58-51465
There are publications such as No. 72261.
一般に、ディスクをアクセスする際、ヘッド選択および
シーク動作が正常に実行されたかどうかを確認スる。そ
のため各トラックには事前に、シリンダおよびヘッド位
置に対応する情報(以下IDと称する)が書き込まれて
いる。Generally, when accessing a disk, it is checked whether head selection and seek operations were performed successfully. Therefore, information (hereinafter referred to as ID) corresponding to the cylinder and head positions is written in advance in each track.
いま、制御装置2が物理的仕様(ここではシリンダ数お
よびヘッド数をさす)の異なる複数のディスクを制御し
ようとした場合、前述したID情報の範囲が異なること
から、何らかの方法で、接続されたディスクの物理的仕
様を知る必要がある。したがって、従来は、ディップ・
スイッチ等を制御装[2に設置し、物理的仕様の異なる
ディスクf装置を接続したときに、人手によりディップ
・スイッチの設定変更を実施し、これを制御装置2が読
堰り、判断し、物理的仕様に対応する制御を実施してい
た。この場合、ディップ・スイッチの設定に人手を介す
ことから、設定間違いを起す場合があり、ディスクに記
憶しであるデータが破壊される恐れがあった。Now, if the control device 2 tries to control multiple disks with different physical specifications (here refers to the number of cylinders and heads), since the range of ID information mentioned above is different, it may be difficult to connect them in some way. You need to know the physical specifications of the disk. Therefore, conventionally, dip-
When a switch, etc. is installed in the control device [2] and a disk f device with different physical specifications is connected, the setting of the dip switch is manually changed, and the control device 2 reads and judges this. Controls corresponding to physical specifications were implemented. In this case, since the setting of the DIP switch requires manual intervention, a setting error may occur, and there is a risk that the data stored on the disk may be destroyed.
また、磁気ディスク接続時には制御装置内をされらなけ
ればならないというわずられしさがあった。Furthermore, when connecting a magnetic disk, it is cumbersome that the control device must be connected.
本発明の目的は、磁気ディスクを使用する装置が、接続
されている磁気ディスクの機種を検知する際、短時間に
認識できる方法を提供することにあろう
〔発明の概要〕
上記目的を達成するため、本発明では、ディスクのトラ
ックを識別するためのID情報に磁気ディスクのヘッド
数とシリンダ数を含む数を設定することにより認識を可
能にしたものである。An object of the present invention is to provide a method by which a device using a magnetic disk can detect the type of connected magnetic disk in a short time. [Summary of the Invention] Achieving the above object Therefore, in the present invention, recognition is made possible by setting a number including the number of heads and cylinders of the magnetic disk in the ID information for identifying the tracks of the disk.
以下、本発1331ついて説明する。 The present invention 1331 will be explained below.
第1図に一般的な磁気ディスク装置の構造を示す。磁気
ディスク装置1は磁気ディスク制御装置2(以下、制御
装置と称する)から、データ検出ヘッド3(以下、ヘッ
ドと称する〕の選択信号jとヘッド位置移動(以下、シ
ークと称する)のための駆動信号iを与えられ、ディス
ク40回転に応じてデータをアクセスする。ヘッド位置
決め機構部5のシーク動作は一定の距離間隔でヘッド位
置を移動する動作であり、この動作ステップでのヘッド
位置に対応するディスク面をシリンダと呼ぶ。ヘッドと
シリンダとの位置関係を第2図に示す。図の1マスに対
応する単位をトラックと称する。FIG. 1 shows the structure of a general magnetic disk device. The magnetic disk device 1 receives a selection signal j for a data detection head 3 (hereinafter referred to as head) and a drive for head position movement (hereinafter referred to as seek) from a magnetic disk control device 2 (hereinafter referred to as a control device). It is given a signal i and accesses data according to the 40 rotations of the disk.The seek operation of the head positioning mechanism section 5 is an operation of moving the head position at fixed distance intervals, and corresponds to the head position at this operation step. The disk surface is called a cylinder. The positional relationship between the head and the cylinder is shown in Fig. 2. A unit corresponding to one square in the figure is called a track.
本発明の処理は第5図に示す装置構成で実施する。磁気
ディスク装置1をアクセスする上位装置(以下、HO8
T装置と称する)6は一担ディスク制御装置7ヘデータ
の読出あるいは書込を指示する出力をし、ディスク制御
装置は、これを受けて磁気ディスク装置を制御し、HO
8T装置とディスク間のデータ転送を制御する。この場
合、ディスク制御装置は第4図のデータ読取の例のよう
K、目的シリンダ位置へ読取ヘッドを移動するシーク動
作の実施、ID情報の読取を実施し、HO8T装置から
指示されたトラック位置のIDと読取ったIDを比較し
、一致した場合は、ディスク装置からデータを読み出し
、HO8Tへ転送し、一致しない場合は異常報告をHO
8Tへ行なって、データアクセスのあやまりを防止する
。The processing of the present invention is carried out using the apparatus configuration shown in FIG. A host device (hereinafter referred to as HO8) that accesses the magnetic disk device 1
(referred to as the T device) 6 outputs an instruction to read or write data to the disk controller 7, and the disk controller receives this and controls the magnetic disk device.
Controls data transfer between the 8T device and the disk. In this case, the disk controller performs a seek operation to move the reading head to the target cylinder position, reads the ID information, and locates the track position instructed by the HO8T device, as in the example of data reading in Figure 4. Compare the ID with the read ID, and if they match, read the data from the disk device and transfer it to the HO8T, and if they do not match, send an error report to the HO8T.
8T to prevent data access errors.
このあやまり防止のためのID部は、一般的には第2図
に示した物理的なシリンダ・アドレスおよびヘッド・ア
ドレスをIDとして記憶させる方法がとられている。こ
の場合、そのID情報を元K、物理的仕様を求めようと
すると、最大ヘッド・最大シリンダのIDを探し出さな
くてはならないから、シーク動作を頻繁に行なわなけれ
ばならない。このシーク動作はデータのアクセス時間や
ヘッドの選択時間に比べて非常に長い時間を必要とする
。したがって、物理的仕様を認識するまでの時間が長く
なり、実用的な方法ではない。In order to prevent this error, the ID section generally stores the physical cylinder address and head address shown in FIG. 2 as the ID. In this case, if you try to use the ID information to find the physical specifications, you will have to search for the ID of the largest head and largest cylinder, so you will have to perform seek operations frequently. This seek operation requires a much longer time than the data access time or head selection time. Therefore, it takes a long time to recognize the physical specifications, and this is not a practical method.
以後の説明のため、使用する記号を定義する。For the following explanation, the symbols used will be defined.
H:磁気ディスクのヘッド数
C:磁気ディスクのシリンダ数
i:物理的な位置に対応したシリンダ・アドレス
j:物理的な位置に対応したヘッド・アドレスXi:I
DKiFき込んであるシリンダ・アドレスに対応する情
報
Yj:IDに書き込んであるヘッド・アドレスに対応す
る情報
M:定 数
N:定 数
本発明の方式ではIDとして下記生成式のいずれか1つ
を用いる。H: Number of heads on the magnetic disk C: Number of cylinders on the magnetic disk i: Cylinder address corresponding to the physical position j: Head address corresponding to the physical position Xi: I
Information corresponding to the cylinder address written in the DKiF Yj: Information corresponding to the head address written in the ID M: Constant N: Constant In the method of the present invention, one of the following generation formulas is used as the ID. use
[1) X1=(j+H+M)xC+i ・・・・
・・・・・式1Yj = j +H十N
・・・・・・・・・ 式2(II、l Xi
= (j+M)xC十i ・・・・・・・・・
式3Yj = j +)(+N ・
・・・・・・・・ 式4(m) X1=j+C+M
十i ・・・・・・・・・ 式5Yj
= j +H+N ・・・・・・・・・式6
まず、(I)の場合の物理的仕様の求め方について説明
する。[1) X1=(j+H+M)xC+i...
...Formula 1Yj = j +H1N
...... Formula 2 (II, l Xi
= (j+M)xC10i ・・・・・・・・・
Equation 3Yj = j +) (+N ・
・・・・・・・・・ Formula 4 (m) X1=j+C+M
10i ...... Formula 5Yj
= j +H+N ・・・・・・・・・Formula 6
First, how to obtain the physical specifications in case (I) will be explained.
制御装置は、
(1)シリンダ・アドレス0ヘヘツドを移動する(−搬
にディスク装置はシリンダ・アドレス0へ位置決めされ
たことを示)゛信号を有するため、この場合は位置決め
のためのID情報は必要としない)。The control device has a signal to (1) move the head to cylinder address 0 (indicating that the disk drive has been positioned to cylinder address 0), so in this case, the ID information for positioning is do not need).
(2)ヘッド・アドレス0を選択し、IDXo。(2) Select head address 0, IDXo.
yoを読み取る。Read yo.
(3) Xo 、 Yoから次の計算を実施して物理
的仕様C,Hな求める。(3) Perform the following calculations from Xo and Yo to find the physical specifications C and H.
H== yo −N ・・・・・・・・・
式7C= XO/ (H+ M ) −−−
−・−・ 式8なお、制御装置がxo、 yoを各機
種別に記憶しており、またxo 、 yoに対応するH
、Cの値が各機種別忙記憶してあれば、XO、yoから
H,Cを定めることができるため(6)の計算は省略で
きるのは明らかである。H== yo −N ・・・・・・・・・
Formula 7C=XO/(H+M) ---
-・-・ Equation 8 Note that the control device stores xo and yo for each model, and also stores the H corresponding to xo and yo.
It is clear that if the values of , C are stored for each model, H and C can be determined from XO and yo, so the calculation in (6) can be omitted.
上記の方法をとることによって、シーク動作が1回で済
み、短時間での処理が実現できる。By using the above method, only one seek operation is required, and processing can be realized in a short time.
次に(IDの場合の物理的な仕様の求め方について説明
する。Next, we will explain how to obtain the physical specifications in the case of (ID).
制御装置は、
(1)ヘッド・アドレス0を選択し、IDX1゜yoを
読み取る。The control device: (1) Selects head address 0 and reads IDX1°yo.
(2)Yoから次の計算を実施して物理的なヘッド数を
求める。(2) Perform the following calculation from Yo to find the physical number of heads.
H= yo −N 、−9−19,−式9
(3)Xiを記憶しておき、これをXlと定義する。H= yo −N , −9−19, −Equation 9
(3) Store Xi and define it as Xl.
(4)次にヘッド・アドレス(H−1)を選択しIDX
1を読み取る。(4) Next, select the head address (H-1) and IDX
Read 1.
(5) Xi 、 X’iから次の計算により物理的
シリンダ数Cを求める。(5) Find the physical number of cylinders C from Xi and X'i by the following calculation.
C=(Xi−Xi)/H・・・・・・・・・式10上記
の方式をとることにより、シーク動作を1回も実施せず
物理的仕様を求めることができ、短時間での処理が実現
できる。C=(Xi-Xi)/H...Equation 10 By using the above method, it is possible to obtain the physical specifications without performing a single seek operation, and it is possible to obtain the physical specifications in a short time. processing can be realized.
次K(m)の場合の物理的な仕様の求め方につい℃説明
する。How to obtain the physical specifications in the case of K(m) will be explained below.
制御装置は、 (1)シリンダ・アドレス0へ、ヘッドを移動する。The control device is (1) Move the head to cylinder address 0.
(2)ヘッド・アドレス0を選択し、IDX0゜Yoを
読取る。(2) Select head address 0 and read IDX0°Yo.
(3) Xo 、 Yoから次の計算を実施して物理
的仕様C,Hな求める。(3) Perform the following calculations from Xo and Yo to find the physical specifications C and H.
c==xo−M ・・・・・・・・・式1
1H== yo−N ・・・・・・・
・・式12上記方式をとることにより、シーク動作が1
回で済むため、短時間での処理が実現できる。c==xo-M ......Formula 1
1H==yo-N ・・・・・・・・・
...Equation 12 By using the above method, the seek operation is reduced to 1
This process can be completed in a short time because it only takes a few times.
以上説明した、3通りの方式に共通することはID情報
の中に磁気ディスクの物理的仕様であるシリンダ数とヘ
ッド数の情報を含めたことである。What the three methods described above have in common is that the ID information includes information about the number of cylinders and the number of heads, which are the physical specifications of the magnetic disk.
この方法の利点を他の方法と比較して説明する。The advantages of this method will be explained in comparison with other methods.
他の方法の1例として、特定のトラックにデータとして
、磁気ディスク自身のヘッド数とシリンダ数を記憶する
方法がある。この場合、特定のトラックとして、シリン
ダ0以外には不可である。したがって、このトラックが
不良トラックで使用不可のとき他のトラックへ代替する
が、このとき、シーク動作を確認するためのIDが使用
できないので、シリンダ0の他のヘッドを使用すること
Kなる。そのため、シリンダ0は他のデータのエリアと
して使用できなくなる不都合を生じる。Another example of a method is to store the number of heads and cylinders of the magnetic disk itself as data in a specific track. In this case, the specific track cannot be any other than cylinder 0. Therefore, when this track is a defective track and cannot be used, another track is substituted, but at this time, since the ID for confirming the seek operation cannot be used, another head of cylinder 0 must be used. Therefore, the problem arises that cylinder 0 cannot be used as an area for other data.
その点、本発明の方式ではデータ格納エリアを使用しな
いため、確実に物理仕様が求められる。On this point, the method of the present invention does not use a data storage area, so physical specifications are definitely required.
以上説明した物理仕様を求める手順を第5図、[n)の
ID設定例を第6図に示す。The procedure for obtaining the physical specifications described above is shown in FIG. 5, and an example of ID setting in [n] is shown in FIG.
本発明によれば、ヘッド数やシリンダ数の異なる磁気デ
ィスクに対して、短時間でのヘッド数、シリンダ数を認
識することができる。According to the present invention, the number of heads and the number of cylinders can be recognized in a short time for magnetic disks having different numbers of heads and cylinders.
第1図は、本発明の一実施例に係る磁気ディスク装置の
概略構造図、第2図は、ヘッドおよびシリンダの物理的
な位置関係図、第3図は実施例の装置構成図、第4図は
制御例を示すブロック図、第5図は本発明の手順説明図
、第6図はIDの設定例を示す説明図である。
1 ・・・・・磁気ディスク装置
2・・・・・・磁気ディスク制御装置
3・・・・・・ヘッド
4・・・・・・ディスク
5・・・・・・ヘッド位置決め機構部
6・・・・・・HO8T装置
7・・・・・・磁気ディスク制御装置
馬 1 四
躬 2国
躬3圀
も4固
第 50
演算唾〕0場今
H;Yo−p4
C:Xo−MFIG. 1 is a schematic structural diagram of a magnetic disk device according to an embodiment of the present invention, FIG. 2 is a diagram of the physical positional relationship of a head and a cylinder, FIG. 3 is a diagram of the device configuration of the embodiment, and FIG. 5 is a block diagram showing a control example, FIG. 5 is an explanatory diagram of the procedure of the present invention, and FIG. 6 is an explanatory diagram showing an example of ID setting. 1...Magnetic disk device 2...Magnetic disk control device 3...Head 4...Disk 5...Head positioning mechanism section 6... ...HO8T device 7...Magnetic disk control device 1 4 times 2 countries 3 times 50 calculations] 0 place now H; Yo-p4 C: Xo-M
Claims (1)
、物理的なヘッド・アドレスに、その磁気ディスクの最
大ヘッド・アドレスおよび最大シリンダ・アドレスを含
む値を記憶することを特徴とする磁気ディスクの機種の
認識方法。A magnetic disk characterized in that a value including a maximum head address and a maximum cylinder address of the magnetic disk is stored as a physical head address as part of the ID information indicating the track position of the magnetic disk. How to recognize the model.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22671285A JPS6286580A (en) | 1985-10-14 | 1985-10-14 | How to recognize the magnetic disk model |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22671285A JPS6286580A (en) | 1985-10-14 | 1985-10-14 | How to recognize the magnetic disk model |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6286580A true JPS6286580A (en) | 1987-04-21 |
Family
ID=16849452
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22671285A Pending JPS6286580A (en) | 1985-10-14 | 1985-10-14 | How to recognize the magnetic disk model |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6286580A (en) |
-
1985
- 1985-10-14 JP JP22671285A patent/JPS6286580A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100189532B1 (en) | How to control the position error signal of hard disk drive | |
| US5187620A (en) | Head position determination control apparatus of data recording/reproducing apparatus in a data surface servo system | |
| KR100242290B1 (en) | Track zero positioning method and track mapping method accordingly | |
| US4361855A (en) | Fault location method in mass-storage system | |
| JPS6286580A (en) | How to recognize the magnetic disk model | |
| US5959797A (en) | Magnetic recording apparatus having means for reading data associated with a non-readable servo sector | |
| JP2615260B2 (en) | Magnetic disk drive and data surface servo pattern writing method thereof | |
| JPH0652636A (en) | External storage device and control method thereof | |
| JPS645392B2 (en) | ||
| KR100422428B1 (en) | Method for reducing time for performing burn-in test process | |
| JPH05150909A (en) | Magnetic disk device with data compare mode | |
| US7362539B2 (en) | Disk drive and method of controlling the same | |
| KR100527237B1 (en) | Defect Test Method of Servo Sector | |
| JP2914971B2 (en) | Magnetic disk drive | |
| JPS60101788A (en) | Optical disk controller | |
| JP3410769B2 (en) | Information recording device | |
| JPH0689546A (en) | Controller for positioning magnetic head | |
| KR100265123B1 (en) | How to Improve Hard Disk Drive Reliability by Head Mapping | |
| JPH0778321A (en) | Magnetic disk device and servo information recording method for magnetic disk | |
| JPH02206082A (en) | Storage system | |
| JPH02178825A (en) | Data transfer control system | |
| JPS59157813A (en) | Controller for magnetic memory of rotor | |
| JPS623321A (en) | Optical disk controller | |
| JPH08106767A (en) | Information recording medium and information recording / reproducing apparatus | |
| JPH0339351B2 (en) |