JPH0214461A - Magnetic disk protection system - Google Patents

Magnetic disk protection system

Info

Publication number
JPH0214461A
JPH0214461A JP63162408A JP16240888A JPH0214461A JP H0214461 A JPH0214461 A JP H0214461A JP 63162408 A JP63162408 A JP 63162408A JP 16240888 A JP16240888 A JP 16240888A JP H0214461 A JPH0214461 A JP H0214461A
Authority
JP
Japan
Prior art keywords
power supply
write
magnetic disk
power
output
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
JP63162408A
Other languages
Japanese (ja)
Inventor
Jitsuo Sentoda
仙洞田 実夫
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63162408A priority Critical patent/JPH0214461A/en
Publication of JPH0214461A publication Critical patent/JPH0214461A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make the power supply small in size by stopping the operation instantly except the write to a magnetic disk device (HDU) and stopping the operation after the end of write during write to one HDU. CONSTITUTION:The power supply 13 is provided with the 1st power output 13b connecting to a CPU 10 and a magnetic disk controller (HDC) 11 and whose voltage is reduced immediately by the momentary interruption or stop of the power supply and with the 2nd power output 13c connecting to the HDC and HDU and whose voltage is drops after a maximum write operating time elapses from the momentary interruption or stop of the power supply. If power momentary interruption or power failure exists during not writing state, the 1st power output 13b of the power supply 13b is decreased immediately and the write is immediately stopped by a reset signal. On the other hand, in the occurrence of momentary interruption or power failure during write, the 1st power output 13b is decreased immediately but the 2nd power supply output 13c is reduced after maximum write operating time elapses and the operation is stopped after the end of write. Thus, the power supply is made small in size.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は磁気ディスク装置を有する制御装置に関し、
特に電源の瞬時や停電時の保護を行なう磁気ディスク保
護方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a control device having a magnetic disk device,
In particular, it relates to magnetic disk protection methods that protect against instantaneous power supply or power outages.

〔従来の技術〕[Conventional technology]

一般に、磁気ディスク装置を有する制御装置の書込み動
作すなわち、中央処理装置(以下単にCPUと言う)か
ら磁気ディスク装置(以下単にHDUと言う)への書込
み動作は第3図に示すようにCPUが書込みデータ1を
磁気ディスク制御装置(以下T(DCと言う)のメモリ
に蓄積させたのち、書込み命令2を肛に発行する。この
書込み命令2には2の書込み番地情報も含まれているも
のとする。HDCはこの書込み命令2を受信し、1(D
Uの磁気ヘッドの移動が必要な場合、磁気ヘッドを移動
させるためのシーク命令3を■疋に発行する。
In general, a write operation of a control unit having a magnetic disk device, that is, a write operation from a central processing unit (hereinafter simply referred to as CPU) to a magnetic disk device (hereinafter simply referred to as HDU) is performed by the CPU as shown in Figure 3. After storing data 1 in the memory of the magnetic disk controller (hereinafter referred to as DC), write command 2 is issued to the memory. This write command 2 also includes the write address information of 2. The HDC receives this write command 2 and writes 1 (D
When it is necessary to move the magnetic head of U, a seek command 3 for moving the magnetic head is issued to (2).

このHDUはこのシーク命令3を受けると、指定された
位置まで磁気ヘッドを移動させ、移動が完了するとシー
ク完了報告4をT(DCに発行する。このシーク動作時
間T1は最大80m秒(例えばNEC製のD3146型
HDUの場合)必要とする。HDCはシーク完了報告4
を受け、HDUにトラック内の書込み番地を示すセクタ
ーアドレスと書込み命令5を発行する。[は)IIXT
が回転体であるため指定されたアドレスが見つかるまで
回転を待つ必要がめり、この回転待ち時間T、は最大1
5.5m秒(例えば■C製D3146型T(DUの場合
)必要とする。
When this HDU receives this seek command 3, it moves the magnetic head to the specified position, and when the movement is completed, it issues a seek completion report 4 to T (DC). This seek operation time T1 is a maximum of 80 msec (for example, NEC D3146 type HDU) is required.The HDC requires seek completion report 4.
In response to this, a sector address indicating the write address within the track and a write command 5 are issued to the HDU. [ha)IIXT
Since it is a rotating body, it is necessary to wait for rotation until the specified address is found, and this rotation waiting time T is at most 1
5.5 msec (for example, in the case of ■C made D3146 type T (DU)).

HDUは指定されたアドレスを見つけると書込み開始報
告6をHDCに発行する。IDCはこの書込み開始報告
6を受け、HDC内に蓄積されているメモリより書込み
データ7をHDUに転送する。HDUはこの書込みデー
タTを受けて■U内に書き込み、終了すると書き込み終
了報告8をHDCに発行する。
When the HDU finds the specified address, it issues a write start report 6 to the HDC. The IDC receives this write start report 6 and transfers the write data 7 from the memory stored in the HDC to the HDU. The HDU receives this write data T and writes it into ■U, and upon completion, issues a write completion report 8 to the HDC.

肛はこの書込み終了報告8を受けて、CPUへ書込み終
了報告9を発行して書込み動作を完了する。
Upon receiving this write completion report 8, the controller issues a write completion report 9 to the CPU to complete the write operation.

そこで、従来、この種の磁気ディスク保護方式は、電源
の瞬断や停電時の対策として罰のシーク動作時間80m
秒、最大回転待ち時間16.6m秒および書込み時間1
6.6m秒の合計112.2m秒の出力保持を保証する
ため、&と[Jに100〜200m秒の電源保証機能を
備えていた。
Therefore, in the past, this type of magnetic disk protection method required a seek operation time of 80m as a countermeasure against instantaneous power interruptions or power outages.
seconds, maximum rotational latency 16.6ms and write time 1
In order to guarantee output retention for a total of 112.2 msec (6.6 msec), & and [J were equipped with a power guarantee function for 100 to 200 msec.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の磁気ディスク保護方式は、大電流を必要
とするシーク動作を含めて瞬断、停電対策を行なわねば
ならず、100〜200m秒の電源出力保持のため大量
のコンデンサまたは定期的に交換が必要なバッテリーが
必要となり、電源装置が大型になり、または高価格にな
るという欠点がある。
The conventional magnetic disk protection method described above requires countermeasures against momentary interruptions and power outages, including seek operations that require large currents, and requires a large number of capacitors or periodic replacement to maintain power output for 100 to 200 msec. The drawbacks are that a battery is required, and the power supply is large and expensive.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る磁気ディスク保護方式は、その電源装置
にCPUおよびIDCに接続し電源の瞬断または停止に
エフ直ちに低下する第1電源出力と肛およびHDHに接
続し電源の瞬断または停止から最大書込み動作時間が経
過したのち低下する第2電源出力とを設け、T(DCK
CPUからIUへの書込みデータを記憶してから書込み
命令を回に出力する手段、第1電源出力を監視する手段
、 T(DUに書込み動作が始まってから終了するまで
の書込み動作中を示す手段、書込み中に第1電源出力が
断したとき書込みが終了してからリセット信号を出力し
書込み中でないとき第1電源出力の断と同時にリセット
信号を出力する手段を有している。
The magnetic disk protection system according to the present invention is connected to the CPU and IDC of the power supply device, and connects to the first power supply output and the HDH, which are connected to the first power supply output and the HDH, which are connected to the CPU and the IDC, and which decreases immediately in the event of a momentary power outage or stoppage. A second power supply output that decreases after the write operation time has elapsed is provided, and T(DCK
means for storing write data from the CPU to the IU and then outputting a write command; means for monitoring the first power supply output; , has means for outputting a reset signal after the writing is completed when the first power supply output is cut off during writing, and outputting the reset signal simultaneously when the first power supply output is cut off when writing is not in progress.

〔作用〕[Effect]

T(DUへの書込み中以外は電源の瞬断または停止に即
時に動作は停止し、HDUへの書込み中は書込み終了後
に動作を停止する。
T (Other than during writing to the DU, the operation will stop immediately upon a momentary power outage or stoppage, and when writing to the HDU, the operation will stop after the writing is completed.

〔実施例〕〔Example〕

第1図はこの発明に係る磁気ディスク保護方式の一実施
例を示すブロック図である。同図にお゛いて、10は中
央処理装置(以下、CPUという)、11はその詳細な
回路構成を第2図に示す磁気ディスク制御装置(以下、
HDCという)、12は磁気ディスク装置(以下、HD
Uという)、13は電源入力13mにより動作し、CP
U用および電源電圧監視用の第1電源出力t3bおよび
肛用およびHDH用の第2電源出力13eを出力する電
源装置(以下、powという)であり、電源の瞬断また
は停電により第1電源出力13bが断になってから最大
書き込み動作時間をへて第2電源出力13cが断になる
FIG. 1 is a block diagram showing an embodiment of a magnetic disk protection system according to the present invention. In the figure, 10 is a central processing unit (hereinafter referred to as CPU), and 11 is a magnetic disk control unit (hereinafter referred to as CPU) whose detailed circuit configuration is shown in FIG.
12 is a magnetic disk device (hereinafter referred to as HDC), 12 is a magnetic disk device (hereinafter referred to as HD
), 13 is operated by power input 13m, and CP
This is a power supply device (hereinafter referred to as pow) that outputs a first power output t3b for U and power supply voltage monitoring and a second power output 13e for anal and HDH. After the maximum write operation time has elapsed after the power supply 13b is turned off, the second power supply output 13c is turned off.

なお、第2図に示すT(DCl 1 において、14は
第1電源出力13bを監視し、この第1電源出力13b
が下がったとき「1」レベルを出力する電圧監視回路、
15は書込みデータ用メモリ16およびCPU10から
T(DUl 2への書き込みデータを記憶してから書込
み命令をHDUl 2へ出力する手段とを備え、入力端
子15mにリセット信号が入力し、出力端子15bから
書込み開始信号を出力し、出力端子15cから書込み終
了信号を出力する磁気ディスク制御部、17は書込み開
始信号にエフセットされ、書込み終了信号にエフリセッ
トされ、書込み動作tl示すフリップフロップ、18は
このフリップフロップ17がリセット状態において電源
監視回路14の出力が「1」になるとリセット信号を出
力するリセット制御ゲートであり、このHDCは書込み
を一担開始したら終了するまで肛とH[XJの動作を保
証することができる。また、前記最大書込み動作時間は
例えば第3図に示す書込み開始報告6から書込み終了報
告8までの時間とし、例えば1トラック分の連続書き込
み動作時間16.6m秒である。
In addition, in T (DCl 1 shown in FIG. 2), 14 monitors the first power supply output 13b,
A voltage monitoring circuit that outputs a “1” level when
Reference numeral 15 includes a write data memory 16 and a means for storing write data from the CPU 10 to T (DUl 2 and then outputting a write command to HDUl 2), a reset signal is input to input terminal 15m, and a reset signal is input from output terminal 15b. A magnetic disk control unit outputs a write start signal and a write end signal from an output terminal 15c, 17 is a flip-flop which is set to the write start signal, reset to the write end signal, and indicates the write operation tl; It is a reset control gate that outputs a reset signal when the output of the power supply monitoring circuit 14 becomes "1" when the flip-flop 17 is in a reset state. Further, the maximum write operation time is, for example, the time from write start report 6 to write end report 8 shown in FIG. 3, and is, for example, 16.6 msec of continuous write operation time for one track.

次に上記構成による磁気ディスク保護方式の動作につい
て説明する。まず、書込み動作中でないときに電源の瞬
断ま九は停電があったとき、20w13の第1電源出力
13bは直ちに低下する。し九がって、電源監視回路1
4はこの第1電源出力13bが低下したことを検出して
「1」レベルを出力する。一方、フリップフロップ17
は書込み動作中でないため、リセット状態になっており
、そのQ出力は「0−1である。この念め、リセット制
御ゲート18の2つの入力は共に「1」となり出力端子
からリセット信号を出力する。この念め、磁気ディスク
制御部15はその入力端子15aにリセット信号が入力
するため、直ちにリセツ・トされ書込み動作を停止する
。このため、大電流を必要とするシーク動作中でも即時
に動作を停止することができる。次に、書込み動作中に
電源の瞬断または停電があったとき、POW13の第1
電源出力13bは直ちに低下するが、第2電源出力13
eは最大書込み動作時間を経過したのち低下する。した
がって、電源監視回路14はこの第1電源出力13bが
下ったことを検出して「1」レベルを出力する。一方、
フリップ70ツブ1Tは書込み動作中であるため、セッ
ト状態になっており、そのQ出力は「1」でおる。この
ため、リセット制御ゲート1Bの2つの入力はrlJと
「0」になジ、出力端子からリセット信号は出力されな
い。このため、POW13の第2電源出力13eは電源
の瞬断ま九は停電があったときから最大書込み動作時間
だけHDCjl およびHDU12に供給される。これ
により書込みを開始してから終了するまで肛とt(DU
の動作を保証することがでキ、罰の記憶部の破壊を防止
することができる。
Next, the operation of the magnetic disk protection system with the above configuration will be explained. First, when there is a momentary power outage while a write operation is not in progress, the first power output 13b of 20w13 immediately drops. Therefore, power supply monitoring circuit 1
4 detects that the first power supply output 13b has decreased and outputs the "1" level. On the other hand, flip-flop 17
Since it is not in the write operation, it is in the reset state, and its Q output is "0-1".To be sure of this, the two inputs of the reset control gate 18 are both "1" and a reset signal is output from the output terminal. do. In preparation for this, a reset signal is input to the input terminal 15a of the magnetic disk control section 15, so that it is immediately reset and stops the write operation. Therefore, even during a seek operation that requires a large current, the operation can be immediately stopped. Next, when there is a momentary power interruption or power outage during a write operation, the first
Although the power supply output 13b immediately decreases, the second power supply output 13b
e decreases after the maximum write operation time has elapsed. Therefore, the power supply monitoring circuit 14 detects that the first power supply output 13b has decreased and outputs the "1" level. on the other hand,
Since the flip 70 knob 1T is in the writing operation, it is in the set state, and its Q output is "1". Therefore, the two inputs of the reset control gate 1B are set to rlJ and "0", and no reset signal is output from the output terminal. For this reason, the second power output 13e of the POW 13 is supplied to the HDCjl and the HDU 12 for the maximum write operation time from the time of a power outage unless there is a momentary power outage. As a result, from the start of writing until the end of writing, t(DU
By guaranteeing the operation of the key, it is possible to prevent the destruction of the storage unit of punishment.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、この発明に係る磁気ディス
ク保護方式によれば、HDUへの書込み中塊外は電源の
瞬断または停止により即時に動作を停止させ、一方aへ
の書込み中では書込み終了後に動作を停止させることに
より、電源装置は大電流を必要とするシーク動作の保証
が不要とな力、また出力保持時間も大幅に短縮すること
ができるので、小形化および低価格化ができる々どの効
果がある。
As explained in detail above, according to the magnetic disk protection method according to the present invention, when writing to the HDU is in progress, the operation immediately stops due to a momentary power interruption or stoppage of the power supply, while when writing to a By stopping the operation after completion of the operation, the power supply device does not need to guarantee the seek operation that requires large current, and the output holding time can be significantly shortened, making it possible to downsize and lower the price. What effect does it have?

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

第1図はこの発明に係る磁気ディスク保護方式の一実施
例を示すブロック図、第2図は第1図の磁気ディスク制
御装置の詳細な回路構成を示す図、第3図は書込み動作
を説明するための図である。 10・・・・中央処理装置、11・・・・磁気ディスク
制御装置、12・・・・磁気ディスク装置、13・・・
・電源装置、14・・・・電圧監視回路、15・・・・
磁気ディスク制御部、16・・・・書込みデータ用メモ
リ、17・・・・フリップ70ツブ、18・・・・リセ
ット制御ゲーCPU 第 図 DC DU
FIG. 1 is a block diagram showing an embodiment of a magnetic disk protection system according to the present invention, FIG. 2 is a diagram showing a detailed circuit configuration of the magnetic disk control device of FIG. 1, and FIG. 3 explains a write operation. This is a diagram for 10...Central processing unit, 11...Magnetic disk control device, 12...Magnetic disk device, 13...
・Power supply device, 14... Voltage monitoring circuit, 15...
Magnetic disk control unit, 16...Memory for write data, 17...Flip 70 knob, 18...Reset control game CPU Fig. DC DU

Claims (1)

【特許請求の範囲】[Claims]  中央処理装置、磁気ディスク制御装置、磁気ディスク
装置および電源装置を備えた磁気ディスクシステムにお
いて、前記電源装置は前記中央処理装置および磁気ディ
スク制御装置に接続し電源の瞬断または停電により直ち
に低下する第1電源出力と前記磁気ディスク制御装置お
よび磁気ディスク装置に接続し電源の瞬断また停電から
最大書込み動作時間が経過したのち低下する第2電源出
力とを有し、前記磁気ディスク制御装置は中央処理装置
から磁気ディスク装置への書込みデータを記憶してから
書込み命令を磁気ディスク装置に出力する手段、前記第
1電源出力を監視する手段、磁気ディスク装置に書込み
動作が始まつてから終了するまでの書込み動作中を示す
手段、書込み中に第1電源出力が断したとき書込みが終
了してからリセット信号を出力し書込み中でないとき第
1電源出力の断と同時にリセット信号を出力する手段を
有することを特徴とする磁気ディスク保護方式。
In a magnetic disk system that includes a central processing unit, a magnetic disk control unit, a magnetic disk device, and a power supply, the power supply is connected to the central processing unit and the magnetic disk control unit, and has a power supply system that is connected to the central processing unit and the magnetic disk control unit, and has a power supply that is immediately degraded by a momentary power interruption or power outage. The magnetic disk control device has a central processing means for storing write data from the device to the magnetic disk device and then outputting a write command to the magnetic disk device; means for monitoring the first power supply output; It has a means for indicating that a write operation is in progress, a means for outputting a reset signal after the write is completed when the first power supply output is cut off during writing, and a means for outputting the reset signal at the same time as the first power supply output is cut off when writing is not in progress. A magnetic disk protection system featuring:
JP63162408A 1988-07-01 1988-07-01 Magnetic disk protection system Pending JPH0214461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63162408A JPH0214461A (en) 1988-07-01 1988-07-01 Magnetic disk protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63162408A JPH0214461A (en) 1988-07-01 1988-07-01 Magnetic disk protection system

Publications (1)

Publication Number Publication Date
JPH0214461A true JPH0214461A (en) 1990-01-18

Family

ID=15754039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63162408A Pending JPH0214461A (en) 1988-07-01 1988-07-01 Magnetic disk protection system

Country Status (1)

Country Link
JP (1) JPH0214461A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04195617A (en) * 1990-11-28 1992-07-15 Hitachi Ltd Recording and reproducing device and information processor
US6101576A (en) * 1992-07-31 2000-08-08 Fujitsu Limited Method for saving generated character image in a cache system including a backup cache

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56166621U (en) * 1980-05-13 1981-12-10
JPS58144795U (en) * 1982-03-24 1983-09-29 東芝ライテック株式会社 Starter for discharge lamp

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56166621U (en) * 1980-05-13 1981-12-10
JPS58144795U (en) * 1982-03-24 1983-09-29 東芝ライテック株式会社 Starter for discharge lamp

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04195617A (en) * 1990-11-28 1992-07-15 Hitachi Ltd Recording and reproducing device and information processor
US6101576A (en) * 1992-07-31 2000-08-08 Fujitsu Limited Method for saving generated character image in a cache system including a backup cache

Similar Documents

Publication Publication Date Title
JPH0214461A (en) Magnetic disk protection system
JPS63279318A (en) Magnetic disk device
JPS6310511B2 (en)
JPS62269253A (en) Power failure processing system for semiconductor memory device
JPS5931743B2 (en) Duplex system
JP2001184170A (en) Data converter
JPH05113854A (en) Disk device with buffer
JP2893758B2 (en) Optical disk drive
JPH0129636Y2 (en)
JPH0318207B2 (en)
JPH05233474A (en) Storage contents protection system
JPS63126050A (en) Memory backup system
JPH04167120A (en) Magnetic disk subsystem
JPH03259321A (en) Mirror disk controller
JPH06259337A (en) Data protection system
JPS60159927A (en) Controlling lsi of large capacity auxiliary storage device
JPH04289558A (en) Write data protecting system for power hit in disk device
JPS6244857A (en) Electronic disk device
JPS61204719A (en) Information processing system
JPH0250245A (en) Peripheral control device
JPH05189863A (en) Magnetic disc apparatus
JPH0376048A (en) Disk protecting system in power failure
JPH0566861A (en) Power source controller
JPS62229322A (en) Magnetic disk device
JPH05181567A (en) Power source stop control system for information processor