JPH02154359A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPH02154359A
JPH02154359A JP30811088A JP30811088A JPH02154359A JP H02154359 A JPH02154359 A JP H02154359A JP 30811088 A JP30811088 A JP 30811088A JP 30811088 A JP30811088 A JP 30811088A JP H02154359 A JPH02154359 A JP H02154359A
Authority
JP
Japan
Prior art keywords
sector
write
voltage
magnetic disk
write processing
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
JP30811088A
Other languages
Japanese (ja)
Inventor
Norio Furubayashi
古林 寛夫
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP30811088A priority Critical patent/JPH02154359A/en
Publication of JPH02154359A publication Critical patent/JPH02154359A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent the remaining of any sector required for rewrite of data by providing a voltage maintaining means capable of allowing a write processing by one sector even when a power input is cut off and a control means for stopping the write processing at a sector partition point when an abnormality of a power supply voltage is detected. CONSTITUTION:The subject device is provided with a voltage maintaining circuit 4 for assuring continuation of the write processing at least by one sector even when the power input is cut off and a control part 5 for stopping the write processing at the sector partition point when abnormality of the power supply voltage is detected. Then, even when a detecting signal is generated from a voltage drop detecting circuit 3 in the midst of a write operation for a sector, this operation is not immediately stopped, but the operation is continued until the write operation for this sector is completed receiving the power source to be maintained by an operation of the voltage maintaining circuit 4, and the operation is stopped upon completion. By this method, no sectors required for rewrite of data are remained at all.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は磁気ディスク装置に関し、特に、停電などの
電源電圧の異常発生時の制御技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk device, and particularly to a control technique when an abnormality in power supply voltage occurs such as a power outage.

[従来の技術] 周知のように、多くの磁気ディスク装置ではディスク上
に設定したセクタを1つめ処理単位としてリードφライ
ト処理を行っている。
[Prior Art] As is well known, many magnetic disk devices perform read/φ write processing using a sector set on a disk as the first processing unit.

また、従来の装置では、動作中に、電源プラグを誤って
外してしまったり、停電が起きたりして電源電圧が異常
低下すると、直ちに動作を停止するように構成されてい
た。
Additionally, conventional devices are configured to immediately stop operating if the power supply voltage drops abnormally due to the power plug being accidentally removed or a power outage occurring during operation.

第3図(a)には、−例として従来の磁気ディスク装置
の機能ブロック図が示されており、図において、リード
・ライト論理(10)はデータを読み書きする論理、ヘ
ッド位置決め論理(11)は磁気ヘッド(図示せず)を
所定の位置に位置決めする論理、スピンドルモータ制御
論理(12)は磁気ディスク(図示せず)の回転を制御
する論理、装置異常検出論理(13)はディスク装置の
異常を検出する論理、電源異常検出論理(14)はディ
スク装置の電圧異常を検出する論理である。
FIG. 3(a) shows a functional block diagram of a conventional magnetic disk device as an example. In the figure, the read/write logic (10) is the logic for reading and writing data, and the head positioning logic (11) is the logic for reading and writing data. is the logic that positions the magnetic head (not shown) at a predetermined position, the spindle motor control logic (12) is the logic that controls the rotation of the magnetic disk (not shown), and the device abnormality detection logic (13) is the logic that controls the rotation of the magnetic disk (not shown). The logic for detecting an abnormality, the power supply abnormality detection logic (14), is the logic for detecting a voltage abnormality in the disk device.

また、第3図(b)において、電源電圧異常信号(17
)は電源電圧の異常を示す立下がりの信号である。
In addition, in FIG. 3(b), the power supply voltage abnormality signal (17
) is a falling signal indicating an abnormality in the power supply voltage.

次に動作について説明する。第4図において、磁気ディ
スクはトラック上で複数のセクタ、セクタ0 (15a
) 、セクタ1 (15b) 、セクタ2(15c)・
・・セクタnに分割され、セクタ毎に該セクタの開始点
であることを示すセクタパルス(15a)、(15b)
、(15c)を発生する(但し、セクタO(16a)の
開始点はインデックスパルス(18)で与えられる)。
Next, the operation will be explained. In FIG. 4, the magnetic disk has multiple sectors on the track, sector 0 (15a
), sector 1 (15b), sector 2 (15c)・
... Sector pulses (15a) and (15b) that are divided into sectors n and indicate the starting point of each sector.
, (15c) (however, the starting point of sector O (16a) is given by index pulse (18)).

データ書込み時には、セクタパルス(15a)、(15
b) 、(15c)・・・またはインデックスパルス(
18)を検出したのち、セクタのデータ領域(16)に
データが書き込まれ、記録保存される。
When writing data, sector pulses (15a), (15
b) , (15c)... or index pulse (
18), the data is written to the data area (16) of the sector and stored.

データ書込み中に、電源電圧が降下(電源電圧異常信号
(17)の立下がり時)すると、第3図に示す如く、デ
ータ領域内であっても電源異常検出論理(14)が動作
し、電源電圧異常信号(17)を発し、装置異常検出論
理(13)を作動させ、直ちにディスク装置はデータの
書込み動作を停止する。
When the power supply voltage drops during data writing (when the power supply voltage abnormality signal (17) falls), the power supply abnormality detection logic (14) operates even within the data area, as shown in FIG. A voltage abnormality signal (17) is generated, the device abnormality detection logic (13) is activated, and the disk device immediately stops writing data.

なお、この種の磁気ディスク装置に関する従来技術は、
特開昭61−269271に示されている。
The conventional technology regarding this type of magnetic disk device is as follows.
It is shown in Japanese Patent Application Laid-Open No. 61-269271.

[発明が解決しようとする課題] 電圧低下によって動作を停止するという事態はライト動
作中にも当然起り得る。ライト動作は1セクタを処理単
位として実行されるので、セクタの途中でライト動作が
中断されると、そのセクタ全体のデータを新たに書き直
す必要がある。従って、電源電圧が回復したときに、ラ
イト動作を中断したセクタがあったかどうかを確認する
ために、データを読み出して元のデータ(書き込もうと
していたデータ)と比較し、誤りがあったら書き直すと
いった面倒な後処理が必要であった。
[Problems to be Solved by the Invention] A situation where the operation stops due to a voltage drop can naturally occur even during a write operation. Since the write operation is executed with one sector as a processing unit, if the write operation is interrupted in the middle of a sector, it is necessary to newly rewrite the data of the entire sector. Therefore, when the power supply voltage is restored, in order to check whether there was a sector where the write operation was interrupted, it is a hassle to read the data, compare it with the original data (the data you were trying to write), and rewrite if there is an error. Additional post-processing was required.

この発明は前述した従来の問題点に鑑みなされたもので
、その目的は、電源1圧低下によってライト動作を中断
した場合でも、データの書直しの必要性のあるセクタを
残さないようにした磁気ディスク装置を提供することに
ある。
This invention was made in view of the conventional problems mentioned above.The purpose of this invention is to prevent the magnetic field from leaving sectors that require data rewriting even if the write operation is interrupted due to a voltage drop in the power supply voltage. The purpose is to provide disk devices.

[課題を解決するための手段] そこでこの発明では、セクタ単位でリード◆ライト処理
を行う磁気ディスク装置において、電源入力が断たれて
も少なくとも1セクタ分のライト処理の続行を保証する
ための電圧保持手段と、電源電圧の異常を検出したとき
にセクタの区分点でライト処理を停止させる制御手段と
を設けた。
[Means for Solving the Problems] Therefore, in the present invention, in a magnetic disk device that performs read/write processing in sector units, a voltage is set to ensure that write processing for at least one sector continues even if power input is cut off. A holding means and a control means for stopping write processing at a sector division point when an abnormality in the power supply voltage is detected are provided.

[作用] あるセクタに対するライト動作の途中において電源入力
が断たれても、前記電圧保持手段によってそのセクタの
ライト動作を完了するまでの期間は、正常な動作が続行
される。また前記制御手段は、前記ライト途中のセクタ
に対するライト動作が完了したならば、次のセクタのラ
イト動作には進まず、セクタ区分点で動作を停止させる
[Operation] Even if power input is cut off during a write operation for a certain sector, normal operation continues until the write operation for that sector is completed by the voltage holding means. Further, when the write operation for the sector in the middle of writing is completed, the control means stops the operation at the sector division point without proceeding to the write operation for the next sector.

[実施例] 第1図に示すように、磁気ディスク装置本体(1)の各
部の動作電源は電源回路(2)から供給される。電源回
路(2)は電源入力を所定の電源出力に変換する回路で
あって、これには入力側の電圧が基準以下になったこと
を検出するための電圧低下検出回路(3)と、入力側の
電圧が基準以下になっても出力側の電圧を一定時間以上
正常範囲に保つための電圧保持回路(4)とが付帯して
いる。ここで、一定時間とは、磁気ディスク装置本体(
1)が少なくとも1セクタ分のライト処理を行うのに必
要な時間である。
[Embodiment] As shown in FIG. 1, operating power for each part of the magnetic disk drive main body (1) is supplied from a power supply circuit (2). The power supply circuit (2) is a circuit that converts power input into a predetermined power output, and includes a voltage drop detection circuit (3) for detecting that the voltage on the input side has become below a standard, and A voltage holding circuit (4) is attached to keep the voltage on the output side within the normal range for a certain period of time even if the voltage on the output side falls below the standard. Here, the fixed period of time refers to the magnetic disk device itself (
1) is the time required to perform write processing for at least one sector.

磁気ディスク装置本体(1)における制御部(5)は装
置各部を総括的に制御するものであって、電圧低検出回
路(3)からの検出信号を受けて装置の動作を停止させ
る制御もこの制御部(5)が行う。また、リード・ライ
ト回路(6)はヘッド(図示省略)との間でリード・ラ
イト信号をやりとりする回路であって、リード・ライト
動作時にはヘッドから得られるセクタ同期信号などの制
御信号がリード・ライト回路(6)から制御部(5)に
供給される。
The control unit (5) in the magnetic disk device main body (1) is for overall control of each part of the device, and also controls to stop the operation of the device in response to a detection signal from the low voltage detection circuit (3). The control unit (5) performs this. The read/write circuit (6) is a circuit that exchanges read/write signals with the head (not shown), and during read/write operations, control signals such as sector synchronization signals obtained from the head are read/write. The light is supplied from the light circuit (6) to the control section (5).

第2図に示すように、ヘッドのアクセスポイントがトラ
ックの先頭セクタに達するごとにインデックスパルス(
18)が発生し、そのトラック中の後続する各セクタに
達するごとにセクタパルス(15)が発生する。このイ
ンデックスパルス(18)とセクタパルス(15)とを
本明細書ではセクタ同期信号と称する。この同期信号に
従ってセクタ単位のリード・ライト動作を実行する。
As shown in Figure 2, each time the head access point reaches the first sector of the track, the index pulse (
18) is generated and a sector pulse (15) is generated as each subsequent sector in that track is reached. The index pulse (18) and sector pulse (15) are referred to herein as a sector synchronization signal. Read/write operations are performed in sector units according to this synchronization signal.

また、本発明に係る磁気ディスク装置では、制御部(5
)は、ライト動作中に電圧低下検出回路(3)から検出
信号が供給されても直ちには動作を停止させず、第2図
に示すように、そのあとリード・ライト回路(6)から
セクタ同期信号が供給されたタイミングに合せて動作を
停止させる。
Further, in the magnetic disk device according to the present invention, the control unit (5
) does not stop its operation immediately even if a detection signal is supplied from the voltage drop detection circuit (3) during a write operation, and then performs sector synchronization from the read/write circuit (6) as shown in Figure 2. The operation is stopped at the timing when the signal is supplied.

つまり、あるセクタに対するライト動作の途中で電圧低
下検出回路(3)から検出信号が発生しても、直ちには
動作を停止させず、電圧保持回路(4)の作用によって
維持される電源を受けて、そのセクタのライト動作を完
了するまで動作を続け、完了したところで動作を停止す
る。従って、次のセクタのライト動作には進まない。
In other words, even if a detection signal is generated from the voltage drop detection circuit (3) during a write operation to a certain sector, the operation is not stopped immediately, but the operation is continued using the power maintained by the action of the voltage holding circuit (4). , continues the operation until the write operation for that sector is completed, and then stops the operation. Therefore, the write operation for the next sector does not proceed.

[発明の効果] 以上詳細に説明したように、この発明に係る磁気ディス
ク装置においては、電源人力がライト動作の途中で電圧
低下しても、電圧保持手段によって維持される電源を受
けて1セクタのライト動作が完了するまで動作を続け、
しかも次のライト動作に進まずにセクタ区分点で動作を
停止する。従って、データの書直しを必要とするような
セクタは残らず、従来のような面倒な後処理は必要なく
なる。
[Effects of the Invention] As explained above in detail, in the magnetic disk drive according to the present invention, even if the power source voltage drops during a write operation, one sector is maintained by the power source maintained by the voltage holding means. The operation continues until the write operation is completed.
Furthermore, the operation is stopped at the sector division point without proceeding to the next write operation. Therefore, there are no sectors that require data rewriting, and the troublesome post-processing required in the past is no longer necessary.

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

第1図は本発明の一実施例による磁気ディスク装置の要
部概略ブロック図、第2図はその動作を示すタイミング
チャート図、第3図(a)は、従来の磁気ディスク装置
の要部概略ブロック図、第3図(b)は、第3図(a)
のタイミングチャート図、第4図は従来の磁気ディスク
装置の動作を示すタイミングチャート図である。 図において、(1)は磁気′Fイスク装置本体、(2)
は電源回路、(3)は電圧低下検出回路、(4)は電圧
保持回路、(5)は制御部、(6)はリード・ライト回
路である。 なお、図中、同一符号は同一、又は相当部分を示す。 7りtス木4インド 本4eaAの石亀気テンスクJf[#7”口゛νり面本
全1の羞詠λテースク値1のタイ?7tテv−1第1図 第2 図 今芝東の石萩気テ2スク装! 第 図 手 続 補 正 書 (自発) 2、発明の名称 磁気ディスク装置 3、補正をする者 代表者 志 岐 守 哉 4、代 理 人 インデリクスへ0ルス 第 図 5、補正の対象 明細書の発明の詳細な説明、図面の簡単な説明の欄及び
図面。 6、補正の内容 石a気デンズク装置
FIG. 1 is a schematic block diagram of the main parts of a magnetic disk device according to an embodiment of the present invention, FIG. 2 is a timing chart showing its operation, and FIG. 3(a) is a schematic block diagram of the main parts of a conventional magnetic disk device. Block diagram, Fig. 3(b), Fig. 3(a)
FIG. 4 is a timing chart showing the operation of a conventional magnetic disk device. In the figure, (1) is the main body of the magnetic 'F disk device, (2)
(3) is a voltage drop detection circuit, (4) is a voltage holding circuit, (5) is a control section, and (6) is a read/write circuit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. 7 Ritsu Tree 4 India book 4eaA Ishikame Tensk Jf [#7” Mouth ゛ν Book All 1 Shame λ Task Value 1 tie? 7t Te v-1 Figure 1 Figure 2 Figure Imashiba East 2. Ishihagi Ki Te 2 Scroll! Diagram Procedural Amendment (Voluntary) 2. Name of Invention Magnetic Disk Device 3. Representative Moriya Shiki 4. To Agent Index 0 Rus Diagram 5. Amendment Detailed explanation of the invention in the subject specification, column for brief explanation of drawings, and drawings. 6. Contents of amendment Stone aeration device

Claims (1)

【特許請求の範囲】[Claims] セクタ単位でリード・ライト処理を行う磁気ディスク装
置において、電源入力が断たれても少なくとも1セクタ
分のライト処理の続行を保証するための電圧保持手段と
、電源電圧の異常を検出したときにセクタの区分点でラ
イト処理を停止させる制御手段とを備えたことを特徴と
する磁気ディスク装置。
In a magnetic disk device that performs read/write processing in sector units, there is a voltage holding means to ensure that write processing continues for at least one sector even if power input is cut off, and a sector A magnetic disk device comprising: control means for stopping write processing at a dividing point.
JP30811088A 1988-12-05 1988-12-05 Magnetic disk device Pending JPH02154359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30811088A JPH02154359A (en) 1988-12-05 1988-12-05 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30811088A JPH02154359A (en) 1988-12-05 1988-12-05 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPH02154359A true JPH02154359A (en) 1990-06-13

Family

ID=17976991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30811088A Pending JPH02154359A (en) 1988-12-05 1988-12-05 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPH02154359A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0376047A (en) * 1989-08-17 1991-04-02 Nec Corp Disk breakdown preventing device
JPH04289558A (en) * 1991-03-19 1992-10-14 Fujitsu Ltd Write data protecting system for power hit in disk device
JPH0683498A (en) * 1992-09-02 1994-03-25 Nec Corp File protection system
JPH10143976A (en) * 1996-11-07 1998-05-29 Ricoh Co Ltd Optical disk drive device
US6101576A (en) * 1992-07-31 2000-08-08 Fujitsu Limited Method for saving generated character image in a cache system including a backup cache
JP2006252445A (en) * 2005-03-14 2006-09-21 Fujitsu Ltd Data storage device and write processing method of data storage device
JP2009129475A (en) * 2007-11-20 2009-06-11 Lenovo Singapore Pte Ltd Magnetic recording apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0376047A (en) * 1989-08-17 1991-04-02 Nec Corp Disk breakdown preventing device
JPH04289558A (en) * 1991-03-19 1992-10-14 Fujitsu Ltd Write data protecting system for power hit in disk device
US6101576A (en) * 1992-07-31 2000-08-08 Fujitsu Limited Method for saving generated character image in a cache system including a backup cache
JPH0683498A (en) * 1992-09-02 1994-03-25 Nec Corp File protection system
JPH10143976A (en) * 1996-11-07 1998-05-29 Ricoh Co Ltd Optical disk drive device
JP2006252445A (en) * 2005-03-14 2006-09-21 Fujitsu Ltd Data storage device and write processing method of data storage device
US7430089B2 (en) 2005-03-14 2008-09-30 Fujitsu Limited Data storage device and write processing method for data storage device
JP2009129475A (en) * 2007-11-20 2009-06-11 Lenovo Singapore Pte Ltd Magnetic recording apparatus

Similar Documents

Publication Publication Date Title
JPH02154359A (en) Magnetic disk device
DE3688136D1 (en) METHOD FOR TESTING AND SETTING DATA INTO A DATA RECORD ON A DISK IN AN ATOMAR INPUT / OUTPUT OPERATION.
JPS63279318A (en) Magnetic disk device
JPS62205599A (en) Read only memory circuit capable of writing
JPS6214376A (en) Disk drive device
JPS62293452A (en) Memory ic diagnosing circuit
JPH02226349A (en) Data processor
JPS5840271B2 (en) memory device
JPS6027935A (en) Information protecting circuit of information storage device
JPS5935455B2 (en) Seigiyo Souchi
JPS63293782A (en) Write circuit for magnetic disk device
JPH0461696A (en) Semiconductor device
JPS62168241A (en) Microprogram controller
JPS617966A (en) Input/output control device
JPS58137024A (en) Controller for peripheral device
JPS60243825A (en) Optical disk device
JPH01138665A (en) Controlling system for magnetic disk device
JPH03252838A (en) Write protection processing method
JPH01260674A (en) Magnetic disk device
JPH04137259A (en) Data recording and reproducing device
JPS6232525A (en) Disk device control system
JPH0635742A (en) Microcomputer device
JPS62121528A (en) Disk device
JPS59223940A (en) Write control system
JPS58102315A (en) Fault diagnostic system for writing correcting circuit