JPH0664828B2 - Floppy disk drive control system - Google Patents

Floppy disk drive control system

Info

Publication number
JPH0664828B2
JPH0664828B2 JP2421283A JP2421283A JPH0664828B2 JP H0664828 B2 JPH0664828 B2 JP H0664828B2 JP 2421283 A JP2421283 A JP 2421283A JP 2421283 A JP2421283 A JP 2421283A JP H0664828 B2 JPH0664828 B2 JP H0664828B2
Authority
JP
Japan
Prior art keywords
floppy disk
fdd
disk drive
fdc
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.)
Expired - Lifetime
Application number
JP2421283A
Other languages
Japanese (ja)
Other versions
JPS59151356A (en
Inventor
一男 明石
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 JP2421283A priority Critical patent/JPH0664828B2/en
Publication of JPS59151356A publication Critical patent/JPS59151356A/en
Publication of JPH0664828B2 publication Critical patent/JPH0664828B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は複数のフロツピーデイスクドライブを備えたシ
ステムに係り、これらフロツピーデイスクドライブがフ
ロツピーデイスクコントローラに対して特にデイジーチ
エイン接続されているシステムに好適するフロツピーデ
イスクドライブ制御方式に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a system having a plurality of Flotpies disk drives, in which the Flotpies disk drives are particularly daisy-chained to a Flotpies disk controller. And a floppy disk drive control method suitable for.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

近年、パーソナルコンピユータや小型ビジネスコンピユ
ータ等のシステムでは、フロツピーデイスク、例えば5.
25インチフロツピーデイスクが適用されるフロツピーデ
イスクドライブ(以下、FDDと称する)をフロツピーデ
イスクコントローラ(以下、FDCと称する)に対して複
数台接続して使用する場合が多い。このようなシステム
では、FDCに対する各FDDの接続には、接続ケーブルが1
本で済むように主としてデイジーチエイン接続方式が採
られている。
In recent years, in systems such as personal computers and small business computers, Floppy disks, such as 5.
In many cases, a plurality of floppy disk drives (hereinafter, referred to as FDD) to which a 25-inch floppy disk is applied are connected to a floppy disk controller (hereinafter, referred to as FDC). In such a system, one connection cable is required to connect each FDD to the FDC.
Mainly the daisy chain connection method is adopted so that it can be done with a book.

第1図はFDCとFDDとの接続信号例を示すもので、これら
接続信号にはフロツピーデイスク(記憶媒体)を回転駆
動するモータを制御するモータオン/オフ信号も含まれ
ている。上述の如きシステムではこのモータオン/オフ
信号のラインも各FDDをデイジーチエイン接続してお
り、このため上記モータオン/オフ信号が各FDDに共通
に伝達されて次に示す問題が生じる。
FIG. 1 shows an example of connection signals between FDC and FDD, and these connection signals also include a motor on / off signal for controlling a motor that rotationally drives a floppy disk (storage medium). In the system as described above, each FDD is also daisy-chain connected to the line of this motor on / off signal, so that the motor on / off signal is commonly transmitted to each FDD, causing the following problems.

今、上位装置からの指令に応じ、FDCが指定されたFDDに
対してデータ読出し/書込みなどの処理(FDD処理)を
行なうものとする。この場合、第2図のフローチヤート
に示されるように少なくとも指定FDDのモータがオンさ
れている必要がある。しかし、上述したシステムではモ
ータオン/オフ信号は各FDDに伝達されてしまうため、
指定されていない(処理対象外の)FDDのモータもオン
状態となる。この結果、処理対象外のFDDにおいてフロ
ツピーデイスクが同一トラツク位置で磁気ヘツドと接触
した状態で回転する。この状態が続くことにより該当フ
ロツピーデイスクはその耐久寿命(例えば300万パス/
トラツク)にいちはやく到達してしまう。すなわち従来
のシステムには、FDD処理が行なわれない場合でもフロ
ツピーデイスクの耐久寿命を縮めてしまう欠点があつ
た。
Now, it is assumed that processing such as data reading / writing (FDD processing) is performed on the FDD designated by the FDC according to a command from the host device. In this case, at least the motor of the designated FDD needs to be turned on as shown in the flow chart of FIG. However, in the above system, the motor on / off signal is transmitted to each FDD,
The FDD motor that is not specified (not processed) is also turned on. As a result, in the non-processed FDD, the floppy disk rotates at the same track position in contact with the magnetic head. If this state continues, the applicable floppy disk will have its durable life (eg 3 million passes /
The track will be reached soon. That is, the conventional system has a drawback that the durability life of the floppy disk is shortened even when the FDD process is not performed.

〔発明の目的〕[Object of the Invention]

本発明は上記事情に鑑みてなされたものでその目的は、
フロツピーデイスクの耐久寿命が徒に損なわれるのを防
止できるフロツピーデイスクドライブ制御方式を提供す
ることにある。
The present invention has been made in view of the above circumstances, and its purpose is to:
It is an object of the present invention to provide a floppy disk drive control system capable of preventing the durable life of the floppy disk from being spoiled.

〔本発明の概要〕[Outline of the present invention]

本発明はFDC(フロツピーデイスクコントローラ)から
のモータオン/オフ信号がシステム内の各FDD(フロツ
ピーデイスクドライブ)に共通に伝達されるシステムに
おいて、指定されたFDDに対するFDD処理に際し、当該FD
D処理の対象外のFDDに対して定期的または不定期にアイ
ドルシールを実行させることにより、フロツピーデイス
クが同一トラツク位置で磁気ヘツドとの接触状態を保つ
て回転することを防止するようにしたものである。
The present invention relates to a system in which a motor on / off signal from an FDC (Floppy disk controller) is commonly transmitted to each FDD (Floppy disk drive) in the system.
By performing idle seal regularly or irregularly on the FDD that is not subject to D processing, the floppy disk is prevented from rotating while maintaining contact with the magnetic head at the same track position. It is a thing.

〔発明の実施例〕Example of Invention

以下、本発明の一実施例を図面を参照して説明する。第
3図は本発明が適用されるシステム例えばパーソナルコ
ンピユータシステムを示すものである。図中、1はシス
テム全体を制御するマイクロプロセツサ、2は各種プロ
グラム、データなどが格納されるメインメモリ、3はプ
ログラマブルタイマである。4はFDC、5,6はFDC4にケー
ブル7によりデイジーチエイン接続されている(共通に
情報が伝達される接続方式であればよい)FDDである。
このケーブル7を往来する信号の概略はすでに第1図に
示されている。8はマイクロプロセツサ1と、メインメ
モリ2、プログラマブルタイマ3、およびFDC4などを結
合するシステムバスである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 3 shows a system to which the present invention is applied, for example, a personal computer system. In the figure, 1 is a microprocessor for controlling the entire system, 2 is a main memory for storing various programs and data, and 3 is a programmable timer. Reference numeral 4 is an FDC, and 5 and 6 are FDDs connected to the FDC 4 by a cable 7 in a daisy chain (any connection method in which information is commonly transmitted).
A schematic of the signals passing through this cable 7 has already been shown in FIG. Reference numeral 8 is a system bus which connects the microprocessor 1, the main memory 2, the programmable timer 3, the FDC 4, and the like.

次に本発明の一実施例の動作を第4図および第5図のフ
ローチヤートを参照して説明する。今、マイクロプロセ
ツサ1からFDC4に対し、例えばFDD5をFDD処理対象とす
るコマンドが与えられたものとする。これにより、FDC4
におけるFDD処理ルーチン(第4図のフローチヤート参
照)が起動される。FDC4は、このFDD処理ルーチンにお
いて、まずオン指定のモータオン/オフ信号が出力され
ているか否かを判定する(ステツプS11)。このステツ
プS11での判定がYES判定の場合、FDC4は直接ステツプS1
2に進み、同じくNO判定の場合にはモータオン/オフ信
号をオン状態にして(ステツプS13)しかる後ステツプS
12に進む。ステツプS12では、FDC4は上記与えられたコ
マンドが正しいか否かの判定を行なう。ここまでの動作
は従来通り(第2図参照)である。ステツプS12での判
定がNO判定の場合、FDC4は従来のようにインバリツドコ
マンドステータスをセツトする動作を行なう(ステツプ
S14)。一方、ステツプS12での判定がYES判定の場合、F
DC4は図示せぬアイドルシークフラグがオンか否かの判
定を行なう(ステツプS15)。このアイドルシークフラ
グは指定されたFDD番号の処理に入る前に、指定されて
いない側のFDDがアイドルシーク可能か否か(別の言い
方をすれば、指定されていない側のFDDに対しアイドル
シークを行なわせるべきか否か)を示すためのフラグで
ある。ここで、アイドルシークとは、上位装置からの指
令とは無関係に、かつリード/ライトを目的とせずにカ
レントトラツクを変更するシーク動作を行なうことであ
る。本実施例においてアイドルシークフラグはFDC4にお
ける(FDD処理ルーチンの一つである)タイマ処理ルー
チンでオンされる。このタイマ処理ルーチンは、プログ
ラマブルタイマ3から一定時間、例えば20msec毎に発生
される割込み信号により起動される。タイマ処理ルーチ
ンでは、第5図のフローチヤートに示されているよう
に、まずアイドルシークフラグがオンか否かの判定が行
なわれる(ステツプS31)。NO判定の場合、ソフトウエ
アカウンタ(ハードウエアカウンタでもよい)が+1さ
れ(ステツプS32)、しかる後1500回カウントしたか否
かが判定される(ステツプS33)。このステツプS33でYE
S判定となつた場合、アイドルシークフラグがオンにさ
れる(ステツプS34)。このとき、ソフトウエアカウン
タをクリアしておく必要がある。明らかなように本実施
例では、基本的に30秒に1回の割合でアイドルシークフ
ラグがオンにされる。
Next, the operation of the embodiment of the present invention will be described with reference to the flow charts of FIGS. Now, suppose that the microprocessor 1 has given a command to the FDC 4 to make the FDD 5 the FDD processing target. This allows FDC4
The FDD processing routine (refer to the flow chart in FIG. 4) is started. In this FDD processing routine, the FDC 4 first determines whether or not a motor on / off signal designating on is output (step S11). If the determination in step S11 is YES, FDC4 directly
Similarly, if the judgment is NO, the motor on / off signal is turned on (step S13), and then step S13.
Go to 12. At step S12, the FDC 4 determines whether or not the given command is correct. The operation up to this point is the same as before (see FIG. 2). If the determination in step S12 is NO, FDC4 performs the operation of setting the invalid command status as in the conventional case (step S12).
S14). On the other hand, if the determination in step S12 is YES, F
DC4 determines whether or not an idle seek flag (not shown) is on (step S15). This idle seek flag indicates whether or not the unspecified FDD can idle seek before entering the processing of the specified FDD number (in other words, the idle seek is performed on the unspecified FDD). This is a flag for indicating whether or not to perform. Here, the idle seek is to perform a seek operation for changing the current track irrespective of a command from the host device and without the purpose of read / write. In this embodiment, the idle seek flag is turned on by a timer processing routine (which is one of FDD processing routines) in FDC4. This timer processing routine is started by an interrupt signal generated from the programmable timer 3 for a fixed time, for example, every 20 msec. In the timer processing routine, as shown in the flow chart of FIG. 5, it is first determined whether or not the idle seek flag is on (step S31). In the case of NO determination, the software counter (which may be a hardware counter) is incremented by 1 (step S32), and then it is determined whether or not 1500 times have been counted (step S33). YE in this step S33
If the result is S, the idle seek flag is turned on (step S34). At this time, it is necessary to clear the software counter. As is apparent, in this embodiment, the idle seek flag is basically turned on once every 30 seconds.

再び第4図のフローチヤートを参照すると、ステツプS1
5においてYES判定の場合、すなわちアイドルシークフラ
グがオンしているものと判定された場合、FDC4は指定さ
れたFDD(この例ではFDD5)とは異なるFDD(この例では
FDD6)、すなわち処理対象外のFDDを指定する(ステツ
プS16)。次にFDC4はステツプS16で指定したFDD(FDD
6)のカレントトラツク(磁気ヘツドが位置しているト
ラツク)が最内周トラツクであるか否かの判定を行ない
(ステツプS17)、NO判定であればカレントトラツクを
例えば1トラツク分内周方向にシーク(アイドルシー
ク)させる(ステツプS18)。一方、ステツプS17でYES
判定の場合、FDC4はカレントトラツクを最外周位置(ト
ラツク0)にシーク(アイドルシーク)させる(ステツ
プS19)。これらステツプS18,S19の動作は、該当トラツ
ク番号を指定した後、シークコマンドを発することによ
つて行なわれる。
Referring again to the flow chart of FIG. 4, step S1
When YES is determined in 5, that is, when it is determined that the idle seek flag is turned on, FDC4 is different from the specified FDD (FDD5 in this example) (in this example, FDD4).
FDD6), that is, an FDD that is not a processing target is designated (step S16). Next, FDC4 is the FDD specified in step S16 (FDD
It is determined whether or not the current track (6) (the track on which the magnetic head is located) is the innermost track (step S17), and if the result is NO, the current track is, for example, one track in the inner circumference direction. Seek (idle seek) (step S18). On the other hand, YES at step S17
In the case of determination, the FDC 4 seeks the current track to the outermost position (track 0) (idle seek) (step S19). The operations of these steps S18 and S19 are performed by issuing a seek command after designating the corresponding track number.

FDC4はステツプS18またはステツプS19を実行するとアイ
ドルシークフラグをオフにする(ステツプS20)。次にF
DC4は指定FDDを処理対象外のFDD(FDD6)から処理対象
となつているFDD(FDD5)に戻し(ステツプS21)、しか
る後コマンドに対応した処理(ステツプS22)を行な
う。なお、上記ステツプS15においてNO判定の場合、す
なわちアイドルシークフラグがオフしているものと判定
された場合には、直接ステツプS22のコマンド処理が行
なわれる。
When FDC4 executes step S18 or step S19, it turns off the idle seek flag (step S20). Then F
The DC4 returns the designated FDD from the non-processing FDD (FDD6) to the FDD (FDD5) which is the processing target (step S21), and then performs the processing corresponding to the command (step S22). If NO is determined in step S15, that is, if it is determined that the idle seek flag is off, the command processing in step S22 is directly executed.

このように本実施例によれば、処理対象外のFDD(ソフ
トウエアからアクセスされていない側のFDD)に対して
一定時間(この例では30秒)毎にアイドルシークを行な
わしめ、カレントトラツクを1トラツクずつ一定方向に
変更するようにしているので、フロツピーデイスクが同
一のカレントトラツクで長期間回転を続ける不都合が防
止できる。
As described above, according to the present embodiment, the idle seek is performed for the non-processed FDD (the FDD on the side not accessed by the software) at regular intervals (30 seconds in this example), and the current track is set. Since each track is changed in a fixed direction, it is possible to prevent the inconvenience that the floppy disk continues to rotate for a long time with the same current track.

なお、前記実施例ではアイドルシークによりカレントト
ラツクが1トラツク変更される場合について説明した
が、変更トラツク数はこれに限るものではない。また、
前記実施例では、アイドルシークフラグが30秒に1回の
割合でオンされるものとしたがこれに限らない。また、
当該アイドルシークフラグをオンするためのルーチン
(第5図参照)はプログラマブルタイマ3からの割込み
信号に限らず、例えばFDC4内部のタイマ機構によつて起
動されてもよい。
In the above embodiment, the case where the current track is changed by one track by the idle seek has been described, but the number of changed tracks is not limited to this. Also,
In the above embodiment, the idle seek flag is turned on once every 30 seconds, but the present invention is not limited to this. Also,
The routine for turning on the idle seek flag (see FIG. 5) is not limited to the interrupt signal from the programmable timer 3, and may be started by a timer mechanism inside the FDC 4, for example.

また、処理速度は遅くなるものの、FDD処理に際し、必
ずアイドルシークを行なうようにしてもよい。この場
合、アイドルシークの可否を示すアイドルシークフラグ
と、当該フラグの時間管理機構(第5図のルーチン)等
は不要となる。
Although the processing speed becomes slow, the idle seek may be always performed in the FDD processing. In this case, the idle seek flag indicating whether or not idle seek is possible and the time management mechanism (routine in FIG. 5) for the flag are unnecessary.

また前記実施例に、FDDが2連接続されているシステム
に実施した場合であるが、FDDが3連以上のシステムの
場合にも、FDDの番号をチエツクするだけで処理対象外
のFDDに対しアイドルシークが行なえることは第4図の
フローチヤートからも容易に判断できる。更に本発明
は、5.25インチフロツピーデイスクが適用されるFDDに
限らず、その他のFDDにも同様に応用できることは明ら
かである。
Further, in the above-mentioned embodiment, the case where the FDD is applied to a system in which two FDDs are connected, but in the case of a system in which the FDD is three or more, simply checking the FDD number makes What the idle seek can do can be easily judged from the flow chart of FIG. Further, it is obvious that the present invention can be applied not only to the FDD to which the 5.25-inch floppy disc is applied but also to other FDDs.

〔発明の効果〕〔The invention's effect〕

以上詳述したように本発明によれば、処理対象外のFDD
においてフロツピーデイスクが同一トラツクで長期間回
転を続けることを防止できるので、フロツピーデイスク
の耐久寿命が徒に損なわれるのを防止できる。
As described in detail above, according to the present invention, an FDD that is not a processing target is processed.
Since it is possible to prevent the floppy disk from continuing to rotate for the same track for a long time, it is possible to prevent the durable life of the floppy disk from being spoiled.

【図面の簡単な説明】[Brief description of drawings]

第1図はFDC(フロツピーデイスクコントローラ)とFDD
(フロツピーデイスクドライブ)との一般的な接続信号
例を示す図、第2図は従来例の動作を説明するためのフ
ローチヤート、第3図は本発明が適用されるシステムの
一実施例を示すシステム構成図、第4図および第5図は
上記実施例の動作を説明するためのフローチヤートであ
る。 4……フロツピーデイスクコントローラ(FDC)、5,6…
…フロツピーデイスクドライブ(FDD)、7……ケーブ
ル。
Figure 1 shows FDC (Floppy disk controller) and FDD.
FIG. 2 is a diagram showing an example of a general connection signal with a (floppy disk drive), FIG. 2 is a flow chart for explaining the operation of a conventional example, and FIG. The system configuration diagram shown in FIGS. 4 and 5 is a flow chart for explaining the operation of the above embodiment. 4 ... Flotpie disk controller (FDC), 5, 6 ...
… Floppy Disk Drive (FDD), 7… Cable.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のフロツピーデイスクドライブと、上
位装置からの指令に応じ、指定された上記フロツピーデ
イスクドライブを制御するフロツピーデイスクコントロ
ーラとを備え、当該フロツピーデイスクコントローラか
らのモータオン/オフ信号が上記複数のフロツピーデイ
スクドライブに共通に伝達されるシステムにおいて、上
記上位装置によつて指定された上記フロツピーデイスク
ドライブに対する処理に際し、指定対象外の上記フロツ
ピーデイスクドライブに対し定期的または不定期にアイ
ドルシークを実行させるように構成されていることを特
徴とするフロツピーデイスクドライブ制御方式。
1. A plurality of floppy disk drives and a floppy disk controller for controlling the specified floppy disk drive in response to a command from a host device, and a motor on / off from the floppy disk controller. In a system in which a signal is commonly transmitted to the plurality of floppy disk drives, when processing the floppy disk drive designated by the host device, the floppy disk drives not designated are periodically or A floppy disk drive control method characterized by being configured to execute idle seeks irregularly.
JP2421283A 1983-02-16 1983-02-16 Floppy disk drive control system Expired - Lifetime JPH0664828B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2421283A JPH0664828B2 (en) 1983-02-16 1983-02-16 Floppy disk drive control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2421283A JPH0664828B2 (en) 1983-02-16 1983-02-16 Floppy disk drive control system

Publications (2)

Publication Number Publication Date
JPS59151356A JPS59151356A (en) 1984-08-29
JPH0664828B2 true JPH0664828B2 (en) 1994-08-22

Family

ID=12131986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2421283A Expired - Lifetime JPH0664828B2 (en) 1983-02-16 1983-02-16 Floppy disk drive control system

Country Status (1)

Country Link
JP (1) JPH0664828B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2504209B2 (en) * 1989-08-17 1996-06-05 日本電気株式会社 Magnetic disk drive
JP2734437B2 (en) * 1995-12-26 1998-03-30 日本電気株式会社 Magnetic disk drive and method of controlling magnetic disk drive

Also Published As

Publication number Publication date
JPS59151356A (en) 1984-08-29

Similar Documents

Publication Publication Date Title
JPH07334913A (en) Method and equipment for reducing power consumption of disk-drive for computer
KR860008534A (en) Information writing control method on the rotating information recording medium
JP3103258B2 (en) Disk unit
JPH0664828B2 (en) Floppy disk drive control system
KR100274742B1 (en) Initiating method for copying hard-disk drive and copying apparatus thereof
JPH04111113A (en) Hard disk emulator
JPH05257613A (en) Multi-head loading hard disk device
JPS647422B2 (en)
JPS59221874A (en) Floppy disk drive controlling system
JP2584001B2 (en) Information processing device
JP3402289B2 (en) Magnetic disk drive
JPH0542071B2 (en)
JPS63282907A (en) Magnetic disk recording device
JPH0562360A (en) System for processing defective sector of rotary type storage device
JP2630932B2 (en) Program recording method for disk-shaped recording medium
JPH0129636Y2 (en)
JPS58171724A (en) Copy controller of magnetic disc tape
JP2596309B2 (en) Disk storage device
JPS63193388A (en) Disk driving system
JP2536118B2 (en) Disk controller
JPS61267121A (en) Disk device
JPH04149801A (en) Magnetic disk device
JPH0194564A (en) System for controlling floppy disk device
JPH01211268A (en) Computer system with function to decide exchange of disk
JPS6070549A (en) Control device of floppy disc