JPH02214075A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH02214075A
JPH02214075A JP3483489A JP3483489A JPH02214075A JP H02214075 A JPH02214075 A JP H02214075A JP 3483489 A JP3483489 A JP 3483489A JP 3483489 A JP3483489 A JP 3483489A JP H02214075 A JPH02214075 A JP H02214075A
Authority
JP
Japan
Prior art keywords
time
disk
cpu
head
positioning 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.)
Pending
Application number
JP3483489A
Other languages
Japanese (ja)
Inventor
Shoji Nishioka
西岡 昇次
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 Corp
Original Assignee
Toshiba 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 Corp filed Critical Toshiba Corp
Priority to JP3483489A priority Critical patent/JPH02214075A/en
Publication of JPH02214075A publication Critical patent/JPH02214075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Moving Of Head For Track Selection And Changing (AREA)

Abstract

PURPOSE:To prove the capability of a device by changing the positioning time of a head by using a CPU, and detecting the minimum positioning time of the head in which no read error occurs. CONSTITUTION:A disk controller 3 is connected to a floppy disk device FDD 1 and a host computer 5, and is provided with the CPU 7 and a memory device MEM 9 in its inside, and they are connected with a bus 13. The CPU 7 controls every part of the controller 3, and stores a various kinds of information at the time of performing an arithmetic operation in the memory device 9. And the CPU 7 sets head positioning for a disk at every readout by shortening a time by every prescribed time, and judges whether or not an error occurs in a signal read in set time. When the error occurs, the CPU 7 detects the minimum positioning time in which no error occurs, and decides it as the positioning time of the head. Thereby, the capability of the positioning of the disk device can be proved, and access time can be reduced.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はディスク制御装置に関する。[Detailed description of the invention] [Purpose of the invention] (Industrial application field) The present invention relates to a disk control device.

(従来の技術) 従来、ヘッド位置決め機構を有する磁気ディスク装置等
においては、磁気ディスク装置で規定さtたヘッドの位
置決め時間(シーク時間とセトリング時間)を制御する
ディスク制御装置が必要であった。
(Prior Art) Conventionally, a magnetic disk device or the like having a head positioning mechanism requires a disk control device that controls the head positioning time (seek time and settling time) defined by the magnetic disk device.

しかしながら、ディスク装置で規定されるヘッド位置決
め時間は苛酷な温度、電圧条件等でも満足するように設
定されているので、通常の動作環境ではかなりマージン
のあるものとなっており、実使用上での性能を十分引出
せるような制御が行われていないという問題があった。
However, the head positioning time specified for disk devices is set to satisfy even severe temperature and voltage conditions, so there is a considerable margin in the normal operating environment, and it is difficult to use in actual use. There was a problem in that the controls were not in place to bring out the full performance.

(発明が解決しようとする課題) このように従来のディスク制御装置では、ディスク装置
が有するヘッド位置決め時間を実カ通りに発揮させるこ
とができなかつた。
(Problems to be Solved by the Invention) As described above, in the conventional disk control device, it has not been possible to make full use of the head positioning time that the disk device has.

本発明はこのような問題に鑑みてなされたもので、その
目的とするところはディスク装置が有するヘッド位置決
め時間を実力通りに発揮させることができるディスク制
御装置を提供することにある。
The present invention has been made in view of these problems, and its purpose is to provide a disk control device that can utilize the head positioning time of a disk device to its full potential.

[発明の構成] (課題を解決するための手段) 前記目的を達成するために本発明は、読出し毎にディス
クに対するヘッドの位置決め時間を所定時間ずつ短縮し
て設定する設定手段と、前記設定手段により設定された
位置決め時間で前記ヘッドが前記ディスクを読取った読
取り信号にエラーが発生するか否かを判定する判定手段
と、前記判定手段によりエラーが発生したと判定された
場合にはエラーの発生しない最小の位置決め時間を検出
してこれを前記ヘッドの位置決め時間として決定する決
定手段とを具備することを特徴とする。
[Structure of the Invention] (Means for Solving the Problem) In order to achieve the above object, the present invention provides a setting means for shortening and setting the positioning time of the head relative to the disk by a predetermined time for each read, and the setting means. determining means for determining whether an error occurs in the read signal obtained by the head reading the disk in the positioning time set by the determining means; and when the determining means determines that an error has occurred, an error occurs. and determining means for detecting a minimum positioning time that does not occur and determining this as the positioning time of the head.

(作 用) 本発明ではヘッドの位置決め時間を変化させ、読取りエ
ラーの発生しない最小のヘッドの位置決め時間が検出さ
れ、これが真のヘッドの位置決め時間と決定される。
(Function) In the present invention, the head positioning time is varied, the minimum head positioning time without a reading error is detected, and this is determined as the true head positioning time.

(実施例) 以下、図面に基づいて本発明の実施例を詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は本発明の一実施例に係るディスク制御装置を有
するディスクシステムの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a disk system having a disk control device according to an embodiment of the present invention.

ディスク制御装置3はフロッピーディスク装置(FDD
)1とホストコンピュータ5に接続されている。このデ
ィスク制御装置3は内部に中央処理装置(CPU)7、
記憶装置(MEM)9、フロッピーディスクコントロー
ラ(FDC)11を有しており、これらが内部バス13
によって接続されている。
The disk control device 3 is a floppy disk device (FDD).
) 1 and a host computer 5. This disk control device 3 includes a central processing unit (CPU) 7,
It has a storage device (MEM) 9 and a floppy disk controller (FDC) 11, which are connected to an internal bus 13.
connected by.

CPU7はディスク制御装置3内部の各部を制御する。The CPU 7 controls each section inside the disk control device 3.

記憶装置9はCPU7演算時の各種情報を記憶する。フ
ロッピーディスクコントローラ11はフロッピーディス
ク装置1に接続されており、CPU7の指令を受けてフ
ロッピーディスク装置1を制御する。
The storage device 9 stores various information when the CPU 7 performs calculations. The floppy disk controller 11 is connected to the floppy disk device 1 and controls the floppy disk device 1 in response to instructions from the CPU 7.

次にこのフロッピーディスク装置の動作を第2図に示す
フローチャートに従って説明する。
Next, the operation of this floppy disk device will be explained according to the flowchart shown in FIG.

ディスク制御装置3がバーワーオンされると(ステップ
201) 、CPU7はカウンタCT。
When the disk control device 3 is turned on (step 201), the CPU 7 starts the counter CT.

シークエラーフラグSEF、カウンタフラグCTFにそ
れぞれrDJ、「0」、「0」を初期値として設定する
(ステップ202)。カウンタCTにセットされる値r
DJはフロッピーディスク装置で保証されたシーク時間
である。シークエラーフラグSETはシークエラーが発
生した際にセットされるフラグであり、カウンタフラグ
CTFはシークエラーにより、ヘッドの位置決め時間を
かえ、再試行した結果シークエラーが発生しなかった場
合にセットされるフラグである。
The seek error flag SEF and counter flag CTF are set to rDJ, "0", and "0" as initial values, respectively (step 202). Value r set in counter CT
DJ is the seek time guaranteed by the floppy disk device. The seek error flag SET is a flag that is set when a seek error occurs, and the counter flag CTF is set when the head positioning time is changed due to a seek error and no seek error occurs as a result of retrying. It's a flag.

ホストコンピュータ5から、ディスク制御装置3にコマ
ンドが送出されると(ステップ203)、CPU7はそ
のコマンドがリードコマンドであるか否かを判断する(
ステップ204)。ここでリードコマンドとは、フロッ
ピーディスク装置IIが内部のフロッピーディスク(図
示せず)を読取るための命令である。
When a command is sent from the host computer 5 to the disk control device 3 (step 203), the CPU 7 determines whether the command is a read command (
Step 204). Here, the read command is a command for the floppy disk drive II to read an internal floppy disk (not shown).

送られてきたコマンドがリードコマンドである場合には
カウンタフラグCTFが「0」であるか否かを判定する
(ステップ205)。この場合、カウンタフラグCTF
は「0」であるのでカウンタCTの値をrnJだけ減じ
た値に設定する(ステップ206)。「口」はあらかじ
め定められた短縮する時間である。これはたとえば、n
−15+sに設定した場合、フロッピーディスク装置の
シーク時間の規定値がD−6膳Sであるとすると、カウ
ンタCTの値は5msとなる。
If the sent command is a read command, it is determined whether the counter flag CTF is "0" (step 205). In this case, the counter flag CTF
is "0", so the value of the counter CT is set to a value subtracted by rnJ (step 206). ``口'' is a predetermined time to be shortened. This is, for example, n
When set to -15+s, assuming that the specified value of the seek time of the floppy disk device is D-6s, the value of the counter CT will be 5 ms.

次にフロッピーディスクコントローラ11はCPU7の
指令に応じてカウンタCTの値が5msであるので、5
ss間隔でステップ信号をフロッピーディスク装rii
1に送る(ステップ207)。ステップ信号は移動する
トラックの数だけ送られ、このステップ信号を受けたフ
ロッピーディスク装置1はリード動作を行いフロッピー
ディスク(図示せず)を読取る。
Next, the floppy disk controller 11 responds to the command from the CPU 7, and since the value of the counter CT is 5 ms, the floppy disk controller 11
The step signal is sent to the floppy disk at ss intervals.
1 (step 207). Step signals are sent for the number of tracks to be moved, and the floppy disk drive 1 that receives the step signals performs a read operation to read a floppy disk (not shown).

この読取りにおいて、シークエラーが発生し場合には(
ステップ208)、カウンタCTの値をrnJだけ増加
させ、たとえばちとの6msの値にし、かつシークエラ
ーフラグを「1」に設定して(ステップ209)、ステ
ップ207に戻る。
If a seek error occurs during this read (
In step 208), the value of the counter CT is increased by rnJ, for example, to a value of 6 ms, and the seek error flag is set to "1" (step 209), and the process returns to step 207.

そして前述したのと同様にステップ207.208の動
作が繰返される。カウンタCTの値が611sに再設定
された場合には通常シークエラーは発生しなt’ので、
シークエラーフラグSEPが「1」であるか否かを判断
する(ステップ210)。この場合、シークエラーへフ
ラグは「1」であるのでカウンタフラグCTFおよびシ
ークエラーフラグSEPをそれぞれrlJ、rOJにセ
ットする(ステップ211)。
The operations of steps 207 and 208 are then repeated in the same manner as described above. If the value of counter CT is reset to 611s, no seek error will normally occur t', so
It is determined whether the seek error flag SEP is "1" (step 210). In this case, since the seek error flag is "1", the counter flag CTF and seek error flag SEP are set to rlJ and rOJ, respectively (step 211).

ステップ208においてシークエラーが発生しなかった
場合には、カウンタCTの値が5s+sの値でフロッピ
ーディスク装置1が読取りを行ったので、フロッピーデ
ィスク装置1は5asで動作できたことになる。
If a seek error does not occur in step 208, the floppy disk device 1 has read with the value of the counter CT being 5s+s, and therefore the floppy disk device 1 has been able to operate at 5as.

この場合、ステップ211を介さないのでカウンタフラ
グCTFは0のままでステップ203に戻る。
In this case, since step 211 is not performed, the counter flag CTF remains 0 and the process returns to step 203.

ホストコンピュータ5から新たにリードコマンドが送ら
れてきた場合、ステップ203.204を介してステッ
プ205においてカウンタフラグCTFの値が判断され
、この場合、カウンタフラグCTFの値が「0」である
ので、さらにカウンタCTの値がrnJだけ減じられる
。すなわち、シーク時間が4asに設定されることにな
る。
When a new read command is sent from the host computer 5, the value of the counter flag CTF is determined in step 205 via steps 203 and 204. In this case, since the value of the counter flag CTF is "0", Further, the value of the counter CT is decreased by rnJ. That is, the seek time is set to 4as.

ホストコンピュータ5から送られてくるコマンドがリー
ドコマンドでない場合には、値「0」がフロッピーディ
スク装置1に送られる(ステップ212)。
If the command sent from the host computer 5 is not a read command, the value "0" is sent to the floppy disk device 1 (step 212).

一旦、カウンタフラグCTFの値が「1」にセットされ
ると、以後のリード動作においてはステップ206を介
さないようになるので、その時のカウンタCTの値で動
作するが、この値でシークエラーが発生するとステップ
209においてカウンタCTの値にrnJが付は加えら
れ、シーク時間が増加されて読取り動作が行われるよう
になる。
Once the value of the counter flag CTF is set to "1", subsequent read operations will not go through step 206 and will operate with the value of the counter CT at that time, but this value will not cause a seek error. When this occurs, rnJ is added to the value of the counter CT in step 209, the seek time is increased, and a read operation is performed.

なお以上の動作は、ディスク制御装置3がパワーオンさ
れてからパワーオフされるまで有効である。
The above operation is valid from when the disk control device 3 is powered on until it is powered off.

かくして本実施例によれば、ヘッド位置決め時間を変化
させ読取りエラーが起こらない最少の位置決め時間が検
出されて、これがヘッドの位置決め時間とされ、ディス
ク装置が最小のヘッド位置決め時間で動作するので、デ
ィスク装置の読取り時のアクセス時間を短縮することが
できる。
Thus, according to this embodiment, the head positioning time is changed, the minimum positioning time without a reading error is detected, this is taken as the head positioning time, and the disk device operates in the minimum head positioning time, so the disk The access time when reading the device can be shortened.

〔発明の効果] 以上詳細に説明したように本発明によれば、ディスク装
置が有するヘッド位置決め時間の実力通りにディスク装
置を動作させることができ、ディスク装置の読取り時の
アクセス時間の短縮を計ることができる。
[Effects of the Invention] As described in detail above, according to the present invention, the disk device can be operated according to the head positioning time capability of the disk device, and the access time during reading of the disk device can be shortened. be able to.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係るディスク制御装置を有
するディスク装置システムの構成を示すブロック図、第
2図はディスク制御装置の動作を示すフローチャートで
ある。 1・・・・・・・・・フロッピーディスク装置3・・・
・・・・・・ディスク制御装置7・・・・・・・・・C
PU 9・・・・・・・・・記憶装置 11・・・・・・・・・フロッピーディスクコントロー
ラ第1図
FIG. 1 is a block diagram showing the configuration of a disk drive system having a disk control device according to an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the disk control device. 1... Floppy disk device 3...
...Disk control device 7...C
PU 9...Storage device 11...Floppy disk controller Figure 1

Claims (1)

【特許請求の範囲】 読出し毎にディスクに対するヘッドの位置決め時間を所
定時間ずつ短縮して設定する設定手段と、 前記設定手段により設定された位置決め時間で前記ヘッ
ドが前記ディスクを読取った読取り信号にエラーが発生
するか否かを判定する判定手段と、前記判定手段により
エラーが発生したと判定された場合にはエラーの発生し
ない最小の位置決め時間を検出してこれを前記ヘッドの
位置決め時間として決定する決定手段と、 を具備することを特徴とするディスク制御装置。
[Scope of Claims] Setting means for shortening the positioning time of the head relative to the disk by a predetermined time for each read, and detecting an error in the read signal when the head reads the disk during the positioning time set by the setting means. determining means for determining whether or not an error occurs; and when the determining means determines that an error has occurred, detecting a minimum positioning time without causing an error and determining this as the positioning time of the head. A disk control device comprising: determining means;
JP3483489A 1989-02-14 1989-02-14 Disk controller Pending JPH02214075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3483489A JPH02214075A (en) 1989-02-14 1989-02-14 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3483489A JPH02214075A (en) 1989-02-14 1989-02-14 Disk controller

Publications (1)

Publication Number Publication Date
JPH02214075A true JPH02214075A (en) 1990-08-27

Family

ID=12425231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3483489A Pending JPH02214075A (en) 1989-02-14 1989-02-14 Disk controller

Country Status (1)

Country Link
JP (1) JPH02214075A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859742A (en) * 1995-11-17 1999-01-12 Fujitsu Limited Disk storage apparatus having head overshoot and undershoot control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859742A (en) * 1995-11-17 1999-01-12 Fujitsu Limited Disk storage apparatus having head overshoot and undershoot control

Similar Documents

Publication Publication Date Title
JPH0799512B2 (en) Programmable external storage controller
JPH02214075A (en) Disk controller
US6182207B1 (en) Microcontroller with register system for the indirect accessing of internal memory via auxiliary register
JPS60214044A (en) Microcomputer
JP2861777B2 (en) Disk device and disk control microcomputer
JPS60245030A (en) Disk controller
JPH0581800A (en) Magnetic disk device
SU1124316A1 (en) Microcomputer
JPS628251A (en) Input/output control system
JPH0578107B2 (en)
JP3104288B2 (en) Disk control system
JPS6270947A (en) Control system for debug interruption
JPH03156659A (en) Direct memory access controller
JPH0355642A (en) Memory control system
JPH02280221A (en) System for controlling disk
JPS63120336A (en) Switching system for memory access mode
JPH05216718A (en) Debugging method
JPH0578860B2 (en)
JPS5898900A (en) Microprocessor controlling system
JPH0312866A (en) Controlling system for start of write/read action
JPS62154153A (en) Control system for external storage
JPS6014345A (en) Protecting system of program runaway
JPS6158049A (en) Error detection
JPS5941072A (en) Device for retrying error
JPS628236A (en) Storage device for activity log