JPH04134688A - Storage device - Google Patents

Storage device

Info

Publication number
JPH04134688A
JPH04134688A JP25423590A JP25423590A JPH04134688A JP H04134688 A JPH04134688 A JP H04134688A JP 25423590 A JP25423590 A JP 25423590A JP 25423590 A JP25423590 A JP 25423590A JP H04134688 A JPH04134688 A JP H04134688A
Authority
JP
Japan
Prior art keywords
address
track
sector
register
coincidence
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
JP25423590A
Other languages
Japanese (ja)
Inventor
Naohisa Suzuki
尚久 鈴木
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP25423590A priority Critical patent/JPH04134688A/en
Publication of JPH04134688A publication Critical patent/JPH04134688A/en
Pending legal-status Critical Current

Links

Landscapes

  • Rotational Drive Of Disk (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To start an address retrieval immediately after detecting a track position by detecting the one rotation of a track by either a number of read times of address or the lapse time of the address retrieval. CONSTITUTION:An address coincidence detecting circuit 31 compares sector address information with address information held in an instruction register 28, and in the case of a coincidence, a coincident signal is generated. When a sector counter 32 counts a sector number constituting one track, the coincident signal indicating the one rotation of the track is outputted from a coincidence detecting circuit 38. A timer counter 39 counts the lapse time of the address retrieval by counting the clock of a timer clock generating circuit 33. A coincidence detecting circuit 34 compares the coincidence between the counted value of the counter 39 and a time set value stored in the instruction register 28. A completion detecting circuit 35 generates a completion signal when the coincidence detection of either of the coincidence detecting circuits 31, 34 and 38 is executed.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、磁気及び光磁気ディスク等の回転型記憶媒体
を用いる記憶装置およびこの記憶媒体のトラック1回転
を検出するトラック回転検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a storage device using a rotating storage medium such as a magnetic or magneto-optical disk, and a track rotation detection circuit for detecting one rotation of a track of this storage medium.

[従来の技術] 第7図は回転磁気ディスクメモリの内部構成を示す。第
7図において、回転磁気ディスクメモリー1には、回転
中心6から回転の円周方向にトラック群が設けられてお
り、各々のトラック2は、インデックスマーク4とセク
ター群3で主に構成され、インデックスマーク4とセク
ター群3の残りの空間は、ギャップと呼ばれる区切りデ
ータで埋められている。磁気ヘッド5(以下ヘッドと呼
ぶ)は、回転磁気メモリー1上を第1図の矢印方向に移
動した後、任意のトラック位置で停止し、そのトラック
に情報の読み書き(アクセス)を行う。
[Prior Art] FIG. 7 shows the internal structure of a rotating magnetic disk memory. In FIG. 7, the rotating magnetic disk memory 1 is provided with track groups in the circumferential direction of rotation from the rotation center 6, and each track 2 is mainly composed of an index mark 4 and a sector group 3. The remaining space between the index mark 4 and the sector group 3 is filled with delimited data called gaps. The magnetic head 5 (hereinafter referred to as head) moves on the rotating magnetic memory 1 in the direction of the arrow in FIG. 1, then stops at a desired track position, and reads and writes (accesses) information to that track.

アクセス対象のトラック位置に停止したヘッド5は、読
取情報の中からインデックスマークの情報を検8するこ
とにより、そのトラックの基準位置を検出する。なお、
この方法とは別にヘッド5以外の検出部たとえば光セン
サを設け、この検出部によりディスクに設けられた複数
のインデックスホールを検圧することにより、トラック
の基準位置を検出する装置も知られている。
The head 5 that has stopped at the track position to be accessed detects the reference position of the track by detecting index mark information 8 from the read information. In addition,
Apart from this method, an apparatus is also known in which a detection section other than the head 5, such as an optical sensor, is provided, and the reference position of the track is detected by using this detection section to detect the pressure of a plurality of index holes provided in the disk.

第8図は、第7図におけるトラック上の構成を時間系列
的に直線上に書き直した説明図である。
FIG. 8 is an explanatory diagram in which the configuration on the track in FIG. 7 is redrawn on a straight line in time series.

第8図において、第1インデツクスマーク4aは、第7
図のインデックスマーク4を最初に検出した時点を示し
、第2インデツクスマーク4bは、トラック1周接イン
デックスマーク4を検出した時点を示す。各セクター3
内は、セクターアドレスマーク(不図示)とこれに続(
セクターアドレス(不図示)からなるアドレス部8と、
データマーク(不図示)とこれに続くデータ(不図示)
とからなるデータ部9とこれらを繋ぐギャップ10から
構成される。
In FIG. 8, the first index mark 4a is the seventh
The figure shows the time point at which the index mark 4 is first detected, and the second index mark 4b shows the time point at which the track 1 circumferential index mark 4 is detected. Each sector 3
Inside is a sector address mark (not shown) followed by a sector address mark (not shown).
an address section 8 consisting of a sector address (not shown);
Data mark (not shown) and following data (not shown)
It consists of a data section 9 consisting of and a gap 10 connecting these sections.

回転磁気ディスクメモリー1においては、セクター単位
でのデータ読み書き動作が基本となるが、セクター単位
でのデータ読み書き動作を行なうために、この直前に、
ヘッド5がアクセス対象のセクター位置(アドレス)に
あることを確認(チエツク)する必要がある。
In the rotating magnetic disk memory 1, data reading and writing operations are basically performed in sector units, but in order to perform data reading and writing operations in sector units, immediately before this,
It is necessary to confirm (check) that the head 5 is at the sector position (address) to be accessed.

従来のセクターアドレスチエツク方法としては、次のも
のが知られている。すなわち、(1)あるトラックを円
周に沿って所望の位置に移動した後、まず、インデック
スホール検出し、ここから同一円周上の幾つかのインデ
ックスホールを検出するまでの間で、アクセス対象のセ
クターアドレスと検出の現在のセクターアドレスとの一
致比較を連続して行なうことにより、ヘッドの位置決め
する方法が最も多い。
The following methods are known as conventional sector address check methods. That is, (1) after moving a certain track to a desired position along the circumference, first, an index hole is detected, and from there until several index holes on the same circumference are detected, the access target is The most common method is to position the head by continuously comparing the detected sector address with the detected current sector address.

(2)トラックを円周方向に沿って所望の位置に移動し
た後、まず、インデックスマーク検出し、ここから幾つ
かのインデックスマーク検出までの間で、所望のセクタ
ーアドレスと順次認識されるセクターアドレスとの一致
比較を連続して行なう。
(2) After moving the track to a desired position along the circumferential direction, first, an index mark is detected, and sector addresses that are sequentially recognized as the desired sector address from here until several index marks are detected. Continuously performs matching comparisons.

従来装置では、このようにしてトラック上のアクセス対
象のセクター位置を検索するが、このセクター位置に記
憶されているアドレス情報が破壊されてしまうと、アド
レスの一致判定は常に否定判定となるため、記憶媒体は
回転し続けてしまうことになる。このため、従来装置で
は、トラック回転検出回路において、トラック上の基準
位置を検出した後、再び基準位置を検出したときは所定
位置のアドレスが見つからずトラックが1回転したと判
断している。このとき、アクセスのためのアドレス検索
を終了するための異常信号をトラック回転検出回路によ
り発生する。
In conventional devices, the sector position to be accessed on the track is searched in this way, but if the address information stored in this sector position is destroyed, the address match determination always results in a negative determination. The storage medium will continue to rotate. Therefore, in the conventional device, after detecting the reference position on the track in the track rotation detection circuit, when the reference position is detected again, the address of the predetermined position is not found and it is determined that the track has rotated once. At this time, the track rotation detection circuit generates an abnormality signal for terminating the address search for access.

[発明が解決しようとする課題] しかしながら、従来装置では、トラックの基準位置を示
すインデックスマーク又はインデックスホールがアドレ
ス検索の途中破壊されてしまうと、トラックの1回転の
検出ができないなという不具合があった。そこで、上述
の点に鑑みて、本発明の目的は、回転型記憶媒体に設け
られた基準位置マークがアドレス検索の途中で破壊され
た場合でも回転型記憶媒体の1回転の終了を検出するこ
とができる記憶装置の回転検出回路を提供することにあ
る。
[Problems to be Solved by the Invention] However, the conventional device has a problem in that if the index mark or index hole indicating the reference position of the track is destroyed during the address search, one revolution of the track cannot be detected. Ta. Therefore, in view of the above points, an object of the present invention is to detect the end of one rotation of a rotary storage medium even if a reference position mark provided on the rotary storage medium is destroyed during an address search. An object of the present invention is to provide a rotation detection circuit for a storage device that can perform the following functions.

[課題を解決するための手段] このような目的を達成するために、本発明は、回転型記
憶媒体のトラック上に記憶された各セクタアドレスを連
続的に読出し、指定アドレスと一致比較することにより
、当該トラック上の指定アドレスの位置を検索する記憶
装置において、前記トラック上のセクタアドレスの読出
し回数を計数することにより当該トラックの1回転を検
出する第1検8手段と、前記指定アドレスの位置の検索
の開始からの経過時間を計時することにより当該トラッ
クの1回転を検出する第2検出手段と、前記第1検出手
段および前記第2検出手段のいずれか一方の検出信号を
受信したときに、トラックが1回転したことを示す回転
検出信号を発生する検出信号発生手段とを具えたことを
特徴とする。
[Means for Solving the Problem] In order to achieve such an object, the present invention continuously reads each sector address stored on a track of a rotating storage medium and compares it with a specified address. In a storage device that searches for the position of a specified address on the track, a first detection means detects one rotation of the track by counting the number of times the sector address on the track is read; a second detection means for detecting one rotation of the track by measuring the elapsed time from the start of the position search; and when receiving a detection signal from either the first detection means or the second detection means; The present invention is characterized in that it includes detection signal generating means for generating a rotation detection signal indicating that the track has made one rotation.

[作 用] 本発明は、アドレスの読出し回数とアドレス検索の経過
時間のいずれかによりトラックの1回転を検出するよう
にしたので、アドレスの読取り不良によりトラック1回
転を検出できない場合でも経過時間により回転を検出す
ることができる。また、アドレスの読出し回数によりト
ラック1回転を検出するので、従来のようにトラック上
の基準位置マークを検出する必要はなく、トラック位置
検出後、ただちにアドレス検索を開始することができる
[Function] The present invention detects one rotation of the track based on either the number of address readings or the elapsed time of address search, so even if one rotation of the track cannot be detected due to a failure in reading the address, it can be detected based on the elapsed time. Rotation can be detected. Furthermore, since one rotation of the track is detected based on the number of times the address is read, there is no need to detect a reference position mark on the track as in the conventional method, and address search can be started immediately after the track position is detected.

[実施例] 以下、図面を参照して本発明実施例を詳細に説明する。[Example] Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は回転磁気ディスクメモリからデータを読出すた
めのシステム構成を示す。
FIG. 1 shows a system configuration for reading data from a rotating magnetic disk memory.

第1図において、CPU制御装置20は回転型磁気ディ
スクメモリのアドレス検索に必要な各種データ(後述)
を書き込みデータバス24に送出し、書き込み選択信号
23によりデータの格納用レジスタを指定する。
In FIG. 1, a CPU control device 20 stores various data (described later) necessary for address retrieval of a rotating magnetic disk memory.
is sent to the write data bus 24, and the write selection signal 23 specifies a register for data storage.

また、CPU!lI@装置20は読み込み選択信号25
によりコントローラ21内のレジスタを指定して、その
レジスタの格納内容を読込みデータバス26を介して読
出す。
Also, CPU! lI@device 20 uses read selection signal 25
specifies a register in the controller 21, and reads out the contents stored in that register via the read data bus 26.

回転磁気ディスク装置22はディスク回転機構、ヘッド
走査機構を有し、コントローラ21から各種信号、たと
えば書き込みデータ信号、ステップ信号、レディ信号等
を受信し、回転ディスクメモリの回転駆動を行う他、ヘ
ッドを走査させることにより、ヘッドを回転ディスクメ
モリ上のアクセス位置に位置させる。
The rotating magnetic disk device 22 has a disk rotating mechanism and a head scanning mechanism, receives various signals such as write data signals, step signals, ready signals, etc. from the controller 21, and not only drives the rotation of the rotating disk memory but also drives the head. By scanning, the head is positioned at an access position on the rotating disk memory.

コントローラ21は、CPU制御装置20から指示され
た回転磁気ディスクモノリ上のアドレス位置にヘッドを
位置させるための動作制御を行う。CPU制御装置20
および回転磁気ディスク装置22は従来と同様のものを
使用できるので、詳細な説明を省略し、コントローラ2
1の本発明に関わる構成のみを説明する。
The controller 21 performs operational control to position the head at an address position on the rotating magnetic disk monolith instructed by the CPU control device 20. CPU control device 20
Since the rotating magnetic disk device 22 and the rotating magnetic disk device 22 can be the same as conventional ones, a detailed explanation will be omitted.
Only the configuration related to No. 1 of the present invention will be explained.

命令レジスタ28はCPU制御装置20から受信の読出
し/書き込みのデータに対するアドレス情報および読出
し/書き込みの指示の他アドレス検索のための各種情報
を下記の内部レジスタに記憶する。レジスタ40は1ト
ラツクを構成するセクター数Nを記憶する。レジスタ4
1はアクセス対象のデータのアドレス情報を記憶する。
The command register 28 stores address information and read/write instructions for read/write data received from the CPU control device 20, as well as various information for address search in the following internal registers. Register 40 stores the number N of sectors constituting one track. register 4
1 stores address information of data to be accessed.

レジスタ43は正常時のトラック1回転に要する時間を
数値Mで記憶する。
The register 43 stores the time required for one rotation of the track under normal conditions as a numerical value M.

また、上記レジスタ群の各々は書き込み選択信号23に
より選択され、選択されたレジスタが書き込みデータバ
ス24の情報を記憶することにより可変設定可能である
。セクターアドレス検出回路30は回転磁気ディスクメ
モリから実際に読出された読取りデータ27のビット列
からアドレスマーク等を認識して、読取りデータの中の
セクターアドレス情報を切り出す。
Further, each of the register groups is selected by a write selection signal 23, and the selected register stores information on the write data bus 24, so that it can be variably set. The sector address detection circuit 30 recognizes address marks and the like from the bit string of the read data 27 actually read from the rotating magnetic disk memory, and extracts sector address information from the read data.

アドレス−数構出回路31はこのセクターアドレス情報
と、命令レジスタ28において保持されているアドレス
情報とをコード比較し、両アドレス情報が一致したとき
に磁気ディスクメモリ上のアクセスすべき、アドレスが
検出されたことを示す一致信号を発生する。
The address/number configuration circuit 31 compares this sector address information with the address information held in the instruction register 28, and when both address information match, the address to be accessed on the magnetic disk memory is detected. generates a match signal indicating that the

セクターカウンタ32はセクターアドレス検出回路30
のアドレス検出回数を計数する。カウンター−数構出回
路38はセクターカウンター32の計数値とアクセスデ
ータのセクターアドレス、すなわち、命令レジスタ28
において格納されたアドレスとの一致比較を行う。
Sector counter 32 is sector address detection circuit 30
Count the number of address detections. The counter number configuration circuit 38 calculates the count value of the sector counter 32 and the sector address of the access data, that is, the instruction register 28.
A match comparison is made with the address stored in .

セクターカウンタ32が1トラツクを構成するセクタ数
を計数した場合、トラックの1回転を示す一致信号が一
致検出回路38から出力される。タイマカウンタ39は
アドレス検索の開始時点において、開始命令レジスタ4
2の保持信号により起動し、タイマクロック発生回路3
3のクロックを計数することによりアドレス検索の経過
時間を計時する。−数構出回路34はタイマカウンタ3
3の計数値と命令レジスタ28内に格納された時間設定
値との一致比較を行う。
When the sector counter 32 counts the number of sectors constituting one track, a coincidence signal indicating one rotation of the track is outputted from the coincidence detection circuit 38. The timer counter 39 registers the start instruction register 4 at the start of address search.
The timer clock generation circuit 3 is activated by the hold signal of 2.
The elapsed time of the address search is measured by counting the clocks of 3. - The number output circuit 34 is a timer counter 3
A comparison is made between the count value of 3 and the time setting value stored in the instruction register 28.

完了検8回路35は1回のアドレス検索が終了したとき
に完了信号を発生する。具体的には、完了検出回路35
は、−数構出回路3I、34.38のいずれかの一数構
畠信号すなわち、指定アドレス情報の位置検出、検索経
過時間によるトラック1回転の検出、1トラツク分のセ
クター数の計数によるトラック1回転の検出のいずれか
が行われたときに、完了信号が発生される。
The completion detection circuit 35 generates a completion signal when one address search is completed. Specifically, the completion detection circuit 35
is a one-number output signal from one of the -number output circuits 3I, 34. A completion signal is generated when any one revolution is detected.

読出しレジスタ29は回転磁気ディスクメモリのアドレ
スの検索に関わる後述の各種情報を内部レジスタ群36
.37に記憶する。アドレス情報記録レジスタ36は、
セクターアドレス検出回路30により順次に検出された
セクターアドレスを記録する。
The read register 29 stores various information related to address retrieval of the rotating magnetic disk memory, which will be described later, to the internal register group 36.
.. 37. The address information recording register 36 is
The sector addresses sequentially detected by the sector address detection circuit 30 are recorded.

スティタスレジスタ37は複数のレジスタ群45〜48
で構成され、回転ディスクメモリに対する読出し状況を
示す情報を記憶する。本実施例では次の情報を記憶する
The status register 37 includes a plurality of register groups 45 to 48.
It stores information indicating the read status of the rotating disk memory. In this embodiment, the following information is stored.

アドレス−数構出回路38の比較判定結果を示すフラグ
情報(アドレス一致フラグ)はレジスタ46に記憶され
る。
Flag information (address match flag) indicating the comparison determination result of the address-number configuration circuit 38 is stored in the register 46.

アドレス一致フラグは比較アドレスレジスタ41の設定
アドレスとセクターアドレス検出回路30の検出アドレ
スが一致した状態、すなわち、ヘッドがアクセス対象の
アドレスに位置したとき、たとえば、オンそれ以外のと
きはオフとなる。
The address match flag is turned on when the set address of the comparison address register 41 and the detected address of the sector address detection circuit 30 match, that is, when the head is located at the address to be accessed, for example, and turned off at other times.

タイマカウント終了フラグはレジスタ48に記憶される
。このフラグ情報は一致検出回路34の出力信号のレベ
ルに対応し、タイマカウンタ39がカウントアツプした
ときにオン、それ以外のときはオフとなる。
The timer count end flag is stored in register 48. This flag information corresponds to the level of the output signal of the coincidence detection circuit 34, and is turned on when the timer counter 39 counts up, and turned off at other times.

アドレスチエツク終了、すなわち、アクセス対象のアド
レスを検索するまでのセクターカウンタ32の計数値が
レジスタ45に記憶される。この計数値はアドレス検索
が正常に終了したか否かを判定するために用いられる。
The count value of the sector counter 32 until the end of the address check, that is, until the address to be accessed is searched, is stored in the register 45. This count value is used to determine whether the address search has ended normally.

アドレスチエツク終了の有無を示す終了フラグ情報はレ
ジスタ47に記憶される。
End flag information indicating whether or not the address check has ended is stored in the register 47.

終了フラグ情報は、完了検出回路35から完了信号が出
力されたときはオン、それ以外はオフとなる。
The end flag information is on when a completion signal is output from the completion detection circuit 35, and off otherwise.

上述のように、アドレス情報言己録レジスタ36および
スティタスレジスタ37に記憶された情報はCPU制御
装置20の読込み選択信号25のレジスタ指定により読
込みデータバス26に送出され、CPU制御装置20に
より読出される。
As described above, the information stored in the address information record register 36 and the status register 37 is sent to the read data bus 26 by the register designation of the read selection signal 25 of the CPU control device 20, and is read out by the CPU control device 20. Ru.

CPU制御装置20ではこれら情報に基づき、回転ディ
スクメモリのアクセス対象のアドレスの位置検出をする
と共に、検出の異常の有無の判定を行う。
Based on this information, the CPU control device 20 detects the position of the address to be accessed in the rotating disk memory and determines whether there is an abnormality in the detection.

このような回路における回転磁気ディスクメモリのアド
レス検索動作を第2図を参照して説明する。なお、第2
図は第1図の各信号の発生タイミングを示す。
The address retrieval operation of the rotating magnetic disk memory in such a circuit will be explained with reference to FIG. In addition, the second
The figure shows the generation timing of each signal in FIG.

本例ではあるトラックの第1デツクスマーク4a(第8
図参照)から2番目のセクターの中のデータにアクセス
する場合について説明する。
In this example, the first index mark 4a (eighth index mark) of a certain track is
The case where data in the second sector is accessed from (see figure) will be explained.

(A)正常動作 第1図において、コントローラ21はCPU制御装置2
0から、アクセス命令およびそのアドレスを受信すると
、命令レジスタ28内の各レジスタに受信情報を格納す
る。このとき、レジスタ40には1トラツクのセクター
個数として“N”、レジスタ41には設定アドレス値“
2”、また、レジスタ43にはタイマカウンタ用の設定
比較値として“M十α”が設定記憶される。Mはトラッ
ク1回転の時間を表す数値αは1回転の検出を確定する
ための待機時間である。
(A) Normal operation In FIG. 1, the controller 21 is the CPU control device 2.
When an access command and its address are received from 0, the received information is stored in each register in the command register 28. At this time, the register 40 has "N" as the number of sectors in one track, and the register 41 has the set address value "
2", and "M+α" is set and stored in the register 43 as a set comparison value for the timer counter. M represents the time for one rotation of the track. α is the waiting time for confirming the detection of one revolution. It's time.

続いて、従来手法でトラック位置の検出が行われた後、
CPU制御装置20からアドレス検索開始命令が開始命
令レジスタ42に送出されると(第3図のタイミングT
l) 、セクターアドレス検出回路30、タイマカウン
タ39がそれぞれ動作を開始する。
Next, after the track position is detected using the conventional method,
When an address search start command is sent from the CPU control device 20 to the start command register 42 (at timing T in FIG.
l) The sector address detection circuit 30 and timer counter 39 each start operating.

セクターアドレス検出回路30では、回転磁気ディスク
装置22のヘッドから読出されたデータの照合を行って
、各セクターのアドレス情報を検出する毎に(第3図の
タイミングT2、T4・・・)検出のアドレス情報をア
ドレス−数棟出回路31、セクターカウンタ32へ出力
する。
The sector address detection circuit 30 collates the data read from the head of the rotating magnetic disk drive 22, and detects the address information of each sector (timings T2, T4, etc. in FIG. 3) every time the address information of each sector is detected. The address information is output to the address/number output circuit 31 and the sector counter 32.

セクターカウンタ32ではアドレス情報を受信する毎に
アドレス情報の読出し回数を計数して行く。
The sector counter 32 counts the number of times address information is read each time address information is received.

一方、タイマカウンタ39はアドレス検索開始時点T1
からの経過時間を計時し続けている。
On the other hand, the timer counter 39 indicates the address search start time T1.
It continues to measure the elapsed time.

次に第3図のタイミングT5で“2”を示すアドレス情
報が回転磁気ディスクメモリから読出されると、アドレ
ス−数棟出回路31から完了検出回路35に一致信号が
出力される。この結果、完了検出回路35はアドレス検
索終了と判断し、アドレス検索の上記各動作を停止させ
、次回のアドレス検索に備え、各回路を初期状態に設定
する。
Next, when address information indicating "2" is read from the rotating magnetic disk memory at timing T5 in FIG. As a result, the completion detection circuit 35 determines that the address search has ended, stops each of the above operations of the address search, and sets each circuit to an initial state in preparation for the next address search.

この結果、ステイタスレシス37には、読出しを開始し
てからのセクターカウント数、一致フラグ“オン”、終
了フラグオン”、タイマカウント終了フラグオフ”が格
納される。
As a result, the status register 37 stores the number of sectors counted since the start of reading, the match flag "on," the end flag on, and the timer count end flag off.

CPU制御装置20は、一定周期で上述のレジスタ情報
を読出し、一致フラグの“オン”により検索が成功した
こと、タイマカウントフラグオフ”およびセクターカウ
ント数く1トラツクのセクター数“N”の関係により1
2回回転磁気ディスクメモリ1回転していないことを確
認することができる。
The CPU control device 20 reads the register information mentioned above at a fixed period, and determines that the search was successful by turning on the match flag, by turning off the timer count flag, and by the relationship between the number of sectors and the number of sectors in one track, which is "N". 1
It can be confirmed that the magnetic disk memory has not rotated twice.

(B)異常動作 次に回転磁気ディスクメモリのあるトラック上で指定の
アドレス位置を検出できない場合について第3図のタイ
ミングチャートを用いて説明する。
(B) Abnormal Operation Next, a case in which a specified address position cannot be detected on a certain track of the rotating magnetic disk memory will be explained using the timing chart of FIG.

第3図において、まず、タイミングTllで指定トラッ
クが検出され、アドレス検索が開始される。
In FIG. 3, first, a designated track is detected at timing Tll, and address search is started.

セクターアドレス検出回路30では読取りデータ27が
アドレス情報であることを検出する毎にアドレス検出信
号を発生する。指定アドレスと同じアドレス情報を磁気
ディスクメモリから読み取るときに雑音が発生し、読取
りデータが変形してしまうと、このとき、アドレス−数
棟出回路31の判定結果は“不一致”となってしまう。
The sector address detection circuit 30 generates an address detection signal every time it detects that the read data 27 is address information. If noise occurs when reading the same address information as the designated address from the magnetic disk memory and the read data is distorted, then the determination result of the address-number output circuit 31 will be "inconsistent".

この結果、回転磁気ディスクメモリは回転を続はタイマ
カウンタ39が設定時間M+αを計時すると、−数棟出
回路34から一致検出信号が出力される(第3図のタイ
ミング14) 。
As a result, the rotating magnetic disk memory continues to rotate, and when the timer counter 39 measures the set time M+α, a coincidence detection signal is output from the minus number output circuit 34 (timing 14 in FIG. 3).

この結果、読み出しレジスタ29の記憶情報は一致フラ
グオフ”、終了フラグオン”、タイマカウント終了フラ
グオン”となる。このとき−数棟出回路34が本発明の
第2検出手段として動作する。
As a result, the information stored in the read register 29 becomes "coincidence flag off," end flag on, and timer count end flag on. At this time, the -number output circuit 34 operates as the second detection means of the present invention.

CPU制御装置20では終了フラグオン”により1回の
検索処理が終了したことを知ることができ、また一致フ
ラグオフ”により指定アドレスの検出ができなかったこ
とを知ることができる。
In the CPU control device 20, it is possible to know that one search process has been completed by turning on the end flag, and it is possible to know that the specified address could not be detected by turning on the match flag.

一方、アドレス検索に失敗し、アドレス情報の読出し回
数が上記タイマカウンタ39のカウントアツプ以前で1
トラツクのセクター個数“N”に達した場合は、カウン
ター−数棟出回路38から”オン”の一致信号が出力さ
れ、完了検出回路35により終了フラグがオンに設定さ
れる。このとき、一致フラグは“オフ”、インデックス
カウント終了フラグも“オフ”となる。この場合、カウ
ンター−数構出回路38が本発明の第1検出手段、完了
検出回路35が検出信号発生手段として動作する。
On the other hand, the address search fails and the number of times the address information is read is 1 before the timer counter 39 counts up.
When the number of sectors of the track reaches "N", a coincidence signal of "ON" is outputted from the counter-multiple sector output circuit 38, and the end flag is set to ON by the completion detection circuit 35. At this time, the match flag is "off" and the index count end flag is also "off". In this case, the counter number configuration circuit 38 operates as the first detection means of the present invention, and the completion detection circuit 35 operates as the detection signal generation means.

このように、アドレス情報の読取り回数およびアドレス
検索の経過時間のいずれかが対応の規定値に到達したと
きに、磁気ディスクメモリが一回転したと判断するので
、インデックスマークが破壊されたり、アドレスの読取
り不良が生じても磁気ディスクメモリの回転を確実に検
出することができる。
In this way, when either the number of times the address information has been read or the elapsed time of the address search reaches the corresponding specified value, it is determined that the magnetic disk memory has completed one rotation. Even if a reading failure occurs, the rotation of the magnetic disk memory can be reliably detected.

以上、説明したように、本実施例ではアドレス情報の照
合処理はトラック位置検出後、直ちに開始することがで
きるので、基準位置マークを検出後、アドレス情報の照
合を開始する従来例と比べると、検索処理時間が短縮さ
れることは明らかである。
As explained above, in this embodiment, the address information matching process can be started immediately after the track position is detected, so compared to the conventional example in which address information matching is started after the reference position mark is detected. It is clear that the search processing time is reduced.

[第2実施例] 第4図は、本発明の第2実施例の回路構成を示す。[Second example] FIG. 4 shows a circuit configuration of a second embodiment of the present invention.

本実施例は第1実施例においてコントローラ21が実行
していたトラック回転検出機能をCPLI制御装置のソ
フトウェア処理で達成する例を示す。第4図において、
メイン制御装置60は、(:PU63、リードオンリメ
モリ(ROM)64 、ランダムアクセスメモリ(RA
M)65 、タイマ(TIMER)66 、インタフェ
ース(Ilo) 67とから構成され、予めROM64
内に書き込まれているマイクロコードに従ってRAM6
5、TIMER66、l1067等との情報の授受を行
ない、制御する命令を発生して回転磁気装置22の回転
磁気ディスクメモリー上のデータ部の情報を読み書きし
ながら情報の加工制御を行なう。
This embodiment shows an example in which the track rotation detection function executed by the controller 21 in the first embodiment is achieved by software processing of the CPLI control device. In Figure 4,
The main control device 60 includes (: PU 63, read-only memory (ROM) 64, random access memory (RA)
M) 65, a timer (TIMER) 66, and an interface (Ilo) 67.
RAM6 according to the microcode written in
5. It exchanges information with the TIMER 66, 11067, etc., generates control commands, and controls the processing of information while reading and writing information in the data section on the rotating magnetic disk memory of the rotating magnetic device 22.

メイン制御装置60と回転磁気ディスク装置22との間
には、復調回路61が設けられ、復調回路61により変
調加工しである読み取りデータ27をバイナリ−のビッ
ト列に復調している。
A demodulation circuit 61 is provided between the main control device 60 and the rotating magnetic disk device 22, and the demodulation circuit 61 demodulates the modulated read data 27 into a binary bit string.

又、実際には、メイン制御装置60と回転磁気ディスク
装置22との間には、回転磁気メモリー22を駆動する
ための色々な信号が接続されているが、アドレスチエツ
ク制御以外の制御については、本発明上重要でないので
省略する。
Furthermore, in reality, various signals for driving the rotating magnetic memory 22 are connected between the main controller 60 and the rotating magnetic disk device 22, but for controls other than address check control, Since it is not important for the present invention, it will be omitted.

第7図は、RAM65上の構成を示す説明図である。FIG. 7 is an explanatory diagram showing the configuration on the RAM 65.

RAM65は命令情報メモリー領域70とスティタスフ
ラグメモリー領域72とワークメモリー領域71の各群
から構成される。命令情報メモリー領域70は、比較ア
ドレスカウンタ値(CAC) 、比較アドレス(CA)
、比較タイマーカウンタ値(CT)、アドレスチエツク
スタート(CR)を格納する。スティタスフラグメモリ
ー領域72は、セクターカウンタ一致フラグ(ACR)
 、セクターアドレス一致フラグ(AR)、タイマーカ
ウンタ一致フラグ(TR)、完了フラグ(ER)を格納
する領域および情報配録メモリー領域75で構成されて
いる。又、ワークメモリー71には、セクターカウンタ
(!IAC) 、タイマーカウンタ(IT(:) 、セ
クターアドレス(WA)を有する。第6図(A)及び第
6図(B)は、アドレスチエツク制御の処理シーケンス
を示す。本図の処理手順は第1実施例のコントローラの
アドレス検索動作をそのままソフトシーケンスに置き換
えたものである。
The RAM 65 is composed of a command information memory area 70, a status flag memory area 72, and a work memory area 71. The instruction information memory area 70 stores a comparison address counter value (CAC) and a comparison address (CA).
, comparison timer counter value (CT), and address check start (CR). The status flag memory area 72 contains a sector counter match flag (ACR).
, a sector address match flag (AR), a timer counter match flag (TR), an area for storing a completion flag (ER), and an information storage memory area 75. The work memory 71 also has a sector counter (!IAC), a timer counter (IT(:)), and a sector address (WA). FIGS. 6(A) and 6(B) show the address check control. A processing sequence is shown.The processing sequence in this figure is a software sequence that directly replaces the address search operation of the controller in the first embodiment.

CPU63は第6図(A)、第6図(B)の処理手順を
実行することにより、アドレス情報の検出、照合、アド
レス情報の検出回数の計数、トラック1回転の検出を行
う。
The CPU 63 detects and collates address information, counts the number of times the address information is detected, and detects one rotation of the track by executing the processing procedures shown in FIGS. 6(A) and 6(B).

[発明の効果] 以上、説明したように、本発明によれば、トラック検出
後、直ちにアドレス検索を開始することができるので、
従来の基準位置の検出に要する時間だけデータの読出し
時間が短縮化され、またアドレスの読出し不良が生じて
も確実にトラック1の回転を検出することができる。
[Effects of the Invention] As explained above, according to the present invention, address search can be started immediately after track detection.
The data read time is shortened by the time required for conventional reference position detection, and the rotation of the track 1 can be reliably detected even if an address read failure occurs.

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

第1図は本発明第1実施例の回路構成を示すブロック図
、 第2図は本発明第1実施例の正常読取動作の各信号発生
タイミングを示すタイミングチャート、第3図は本発明
実施例の異常動作における各信号発生タイミングを示す
タイミングチャート、第4図は本発明第2実施例の回路
構成を示すブロック図、 第5図は第4図のRAM65の記憶領域および記憶内容
を示す説明図、 第6図(A)、(B)は第4図のCPU63が実行する
アドレス検索および異常検出のための処理手順を示すフ
ローチャート、 第7図は従来例における回転磁気ディスクメモリのメモ
リ領域の配置を示す平面図、 第8図は従来例における回転磁気ディスクメモリのメモ
リ領域に対するアクセス類を示す説明図である。 1・・・回転磁気ディスク、 2・・・トラック、 3・・・セクター 4・・・インデックスマーク、 4a・・・第1インデツクスマーク、 4b・・・第2イ゛ノデクスマーク、 5・・・読み書きヘッド、 6・・・回転中心、 7・・・ヘッド移動方向、 8・・・アドレス部、 9・・・データ一部、 10・・・ギャップ部、 20・・・CPU制御装置、 21・・・コントローラ、 22・・・回転磁気ディスク装置、 23・・・書き込み選択信号、 24・・・書き込みデータバス、 25・・・読込み選択信号、 26・・・読込みデータバス、 27・・・読取りデータ、 28・・・命令レジスタ、 29・・・読出しレジスタ、 30・・・セクターアドレス検出回路、31・・・アド
レス一致検出回路、 32・・・セクターカウンタ、 33・・・タイマークロック発生回路、34・・・タイ
マーカウンター一致検出回路、35・・・完了検出回路
、 36・・・アドレス情報記録レジスタ、37・・・ステ
ィタスレジスタ、 38・・・カウンター一致検出回路、 39・・・タイマーカウンタ、 40・・・比較セクターカウンタ個用レジスタ、41・
・・比較アドレス用レジスタ、 42・・・開始命令レジスタ、 43・・・比較インデックスマークカウンタ個用レジス
タ、 45・・・セクターカウント用レジスタ、46・・・ア
ドレス一致フラグ用レジスタ、47・・・終了フラグ用
レジスタ、 48・・・タイマーカウント終了フラグ用レジスタ、 60・・・メイン制御装置、 61・・・読取りデータ復調器、 62・・・復調信号、 63・・・cpu 。 64・・・ROM  。 65・・・RAM  、 66・・・TIMER, 67・・・Ilo  、 70・・・命令情報メモリー 71・・・ワークメモリー 72・・・スティタスフラグメモリー 75・・・アドレス情報記録メモリー 第6 図 (Aン 4インデ゛・ソクスマーク 第7図
FIG. 1 is a block diagram showing the circuit configuration of the first embodiment of the present invention, FIG. 2 is a timing chart showing the timing of each signal generation during normal reading operation of the first embodiment of the present invention, and FIG. 3 is the embodiment of the present invention. 4 is a block diagram showing the circuit configuration of the second embodiment of the present invention. FIG. 5 is an explanatory diagram showing the storage area and storage contents of the RAM 65 in FIG. 4. , FIGS. 6A and 6B are flowcharts showing the processing procedure for address search and abnormality detection executed by the CPU 63 in FIG. FIG. 8 is an explanatory diagram showing accesses to a memory area of a rotating magnetic disk memory in a conventional example. DESCRIPTION OF SYMBOLS 1... Rotating magnetic disk, 2... Track, 3... Sector 4... Index mark, 4a... First index mark, 4b... Second index mark, 5... Read/write head, 6... Center of rotation, 7... Head movement direction, 8... Address section, 9... Part of data, 10... Gap section, 20... CPU control device, 21. ...Controller, 22...Rotating magnetic disk device, 23...Write selection signal, 24...Write data bus, 25...Read selection signal, 26...Read data bus, 27...Read Data, 28... Instruction register, 29... Read register, 30... Sector address detection circuit, 31... Address match detection circuit, 32... Sector counter, 33... Timer clock generation circuit, 34... Timer counter coincidence detection circuit, 35... Completion detection circuit, 36... Address information recording register, 37... Status register, 38... Counter coincidence detection circuit, 39... Timer counter, 40...Register for comparison sector counter, 41.
...Comparison address register, 42...Start instruction register, 43...Comparison index mark counter register, 45...Sector count register, 46...Address match flag register, 47... End flag register, 48... Timer count end flag register, 60... Main controller, 61... Read data demodulator, 62... Demodulated signal, 63... CPU. 64...ROM. 65...RAM, 66...TIMER, 67...Ilo, 70...Instruction information memory 71...Work memory 72...Status flag memory 75...Address information recording memory FIG. A4 Indian Soccer Mark Figure 7

Claims (1)

【特許請求の範囲】 1)回転型記憶媒体のトラック上に記憶された各セクタ
アドレスを連続的に読出し、指定アドレスと一致比較す
ることにより、当該トラック上の指定アドレスの位置を
検索する記憶装置において、 前記トラック上のセクタアドレスの読出し回数を計数す
ることにより当該トラックの1回転を検出する第1検出
手段と、 前記指定アドレスの位置の検索の開始からの経過時間を
計時することにより当該トラックの1回転を検出する第
2検出手段と、 前記第1検出手段および前記第2検出手段のいずれか一
方の検出信号を受信したときに、トラックが1回転した
ことを示す回転検出信号を発生する検出信号発生手段と
、 を具えたことを特徴とする記憶装置。
[Claims] 1) A storage device that searches for the position of a designated address on a track by successively reading out each sector address stored on a track of a rotating storage medium and comparing it with a designated address. a first detection means for detecting one revolution of the track by counting the number of times a sector address on the track is read; a second detection means for detecting one revolution of the track; and generating a rotation detection signal indicating that the track has made one revolution when receiving a detection signal from either the first detection means or the second detection means. A storage device comprising: a detection signal generating means;
JP25423590A 1990-09-26 1990-09-26 Storage device Pending JPH04134688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25423590A JPH04134688A (en) 1990-09-26 1990-09-26 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25423590A JPH04134688A (en) 1990-09-26 1990-09-26 Storage device

Publications (1)

Publication Number Publication Date
JPH04134688A true JPH04134688A (en) 1992-05-08

Family

ID=17262148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25423590A Pending JPH04134688A (en) 1990-09-26 1990-09-26 Storage device

Country Status (1)

Country Link
JP (1) JPH04134688A (en)

Similar Documents

Publication Publication Date Title
CA1119304A (en) Apparatus and method for record reorientation following error detection in a data storage subsystem
WO1983001858A1 (en) Recording of transducer positioning information
JPH0476149B2 (en)
US4494157A (en) Information readout apparatus
USRE31069E (en) Apparatus and method for record reorientation following error detection in a data storage subsystem
JP2008234822A (en) Magnetic disk test method and magnetic disk tester
US4361855A (en) Fault location method in mass-storage system
JPH04134688A (en) Storage device
KR100262799B1 (en) Recording/reproducing apparatus, and its address-recognizing method
JPH04195766A (en) Storage device and track rotation detector thereof
JPH01171044A (en) Method for positioning block of memory
JPH06139732A (en) Magnetic disk controller
JPH09198815A (en) Magnetic disk apparatus adopting data face servo system and data face servo method by the magnetic disk apparatus
US6237070B1 (en) Method and system for determining the data layout geometry of a disk drive
JPH11328843A (en) Data recovery circuit
JPS63282907A (en) Magnetic disk recording device
JPS5816212B2 (en) Error retry control method
JPS5922285B2 (en) information storage device
JP2984132B2 (en) Defect detection method for magnetic disk media
JPS5840271B2 (en) memory device
JPS6113259B2 (en)
JP2563615B2 (en) Digital data recorder
JPH02223073A (en) Format controller for floppy disk device
JPH02178825A (en) Data transfer control system
JPH10269729A (en) Disk apparatus