JP3969265B2 - Magnetic tape device and control method thereof - Google Patents

Magnetic tape device and control method thereof Download PDF

Info

Publication number
JP3969265B2
JP3969265B2 JP2002278786A JP2002278786A JP3969265B2 JP 3969265 B2 JP3969265 B2 JP 3969265B2 JP 2002278786 A JP2002278786 A JP 2002278786A JP 2002278786 A JP2002278786 A JP 2002278786A JP 3969265 B2 JP3969265 B2 JP 3969265B2
Authority
JP
Japan
Prior art keywords
ibg
magnetic tape
signal
data
tape
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 - Fee Related
Application number
JP2002278786A
Other languages
Japanese (ja)
Other versions
JP2004118906A (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.)
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 JP2002278786A priority Critical patent/JP3969265B2/en
Publication of JP2004118906A publication Critical patent/JP2004118906A/en
Application granted granted Critical
Publication of JP3969265B2 publication Critical patent/JP3969265B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Digital Magnetic Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は磁気テープ装置及びその制御方法に関し、特に、テープのスリップによるデータの不用意な上書きを防止する磁気テープ装置及びその制御方法に関する。
【0002】
【従来の技術】
磁気テープ装置においては、テープの巻取りゆるみにより駆動軸の回転にテープが追随しないスリップと呼ばれる現象が生じることがある。磁気テープへの書き込み時にスリップが生じると正確な場所からデータライトができず、書き込みデータが既存データに上書きされたり、逆に、既存データの終端に設けられたIBG(Interblock Gap:ブロック間ギャップ)と追記されるデータ先頭のIBGとの間に隙間が生じてしまい、以降にデータの読み出しができなくなってしまう。
【0003】
テープスリップによる不具合を解消するために、既存のデータブロックを読み取り、データがなくなったことを検出した後にさらにテープを一定距離走らせた後、データを書き込むようにした磁気テープ装置の書き込み制御方式がある(例えば、特許文献1)。また、ライトヘッドでの書き込みデータがリードヘッドで読み出される迄の時間を計測してスリップの有無を検出し、スリップ発生時にはデータ書き込みを遅延させる磁気テープ制御方式がある(例えば、特許文献2)。
【0004】
また、ブロック検出回路とタコパルス計数器とに接続する誤差検出回路を設けてスリップ量を検出し、ここで検出した誤差を平均して走行距離制御回路に入力する誤差平均回路とを付加して正確なリポジション動作を実現する磁気テープ装置がある(例えば、特許文献3)。
【0005】
【特許文献1】
特開昭58−17554号公報
【特許文献2】
特開昭59−30256号公報(第2頁右下段落)
【特許文献3】
特開昭62−102451号公報(第3頁左上段落)
【0006】
【発明が解決しようとする課題】
しかしながら、上記列挙した従来技術はいずれも、磁気テープへのリードを行って既存データの終端を検出し、そこから時間や走行距離の演算を行って適宜長さのIBGを確保し、さらに適切なところで追記データを送り込んでデータライトを開始するといった処理を、磁気テープへの書き込みを行うタイミングで実施する必要がある。したがって、書き込みを行うタイミングで磁気テープ装置がこなすべき処理が集中し、装置のMPUやバスに過度な負担がかかってしまう。実際にこの処理を実現しようとすると回路の高性能化が要求され、コスト面でも現実的ではないという問題がある。
【0007】
本発明はこのような問題に鑑み、最終1つ手前のIBGにロケートすることでスリップによる誤差および必要な補正量を検出しておき、データ終端部では補正したタイミングで書き込みを開始して処理負担が軽減される磁気テープ装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
この目的を達成するために、本発明の磁気テープ装置は、磁気テープを走行駆動するサーボモータと、該サーボモータから所定の回転角毎に出力されるパルス信号を計数するカウンタ手段と、前記磁気テープの走行時にIBGを検出して第1の信号を出力するIBG検出手段と、前記第1の信号検出時に前記カウンタ手段のカウント値を保存するレジスタと、前記磁気テープの追記動作において前記カウンタ手段の値がレジスタの値になると第2の信号を出力する第2信号出力手段と、前記第1および第2の信号の検出タイミングを比較してテープスリップの有無およびその量を検出する比較手段を備え、
前記レジスタは、少なくとも前記磁気テープへの追記を開始しようとするIBG(以下、「最終IBG」と称す。)とその一つ前のIBG(以下、「最終一つ前のIBG」と称す。)における前記カウント値とを記憶するとともに、
前記比較手段は、
(1) 前記最終一つ前のIBG部分において第1の信号より第2の信号が早く検出された場合、前記最終IBG部分における第2の信号出力時からその分遅らせたタイミングで磁気テープへの追記開始命令を出し、
(2) 前記最終一つ前のIBG部分において第1の信号が第2の信号と同時か第1の信号より第2の信号が遅く検出され、その誤差が磁気テープ上の距離で1mm以内である場合、前記最終IBG部分における第2の信号出力時に磁気テープへの追記開始命令を出すことを特徴とする。
【0010】
このように本発明の磁気テープ装置では、磁気テープへの追記動作において最終一つ前のIBGに位置づけして誤差を検出し、最終IBG部分でその誤差を補正するタイミングで追記開始命令を出すようにしている。したがって追記を開始すべき最終IBG部分で装置側が負担する処理が軽減し、回路の高性能化を不要として装置のコストダウンを図ることができる。
【0011】
また、前記比較手段は、
(3) 前記最終一つ前のIBG部分において第1の信号より第2の信号が遅く検出され、その誤差が磁気テープ上の距離で1mmより大きい場合、前記磁気テープ装置に追記動作の再試行を促すことが望ましい。この場合はさらに、
(4) 前記再試行によっても1mmより大きい誤差が検出される場合、前記最終一つ前のIBGより前の部分から読み出し動作を行って前記レジスタの値を更新してから再び追記動作を行うよう装置に要求することが望ましい。
【0012】
後に説明するが、1mmより大きいスリップが生じている場合にそのまま追記を開始するとIBGに隙間が生じてリード不能となるため、追記動作のリトライを実施して誤差検出をやり直すようにする。また、このリトライによっても1mmより大きい誤差が検出される場合は、装置側でテープ位置を把握するためのレジスタの値を更新すべく、最終一つ前のIBG以前から読み出しを行ってから、再び追記動作を開始するようにする。
【0013】
本発明の磁気テープ装置では、前記磁気テープの各IBGが約2mmの幅を設けて構成されるとともに、前記IBG検出手段は、前記磁気テープ上でIBGを1mm検出したときに前記第1の信号を出力することを特徴とする。磁気テープのIBGが2mm幅とすると、1mm検出した時点がちょうどIBGの中央部分となるからである。また、前記追記動作において追記されるデータの先頭にはテープ1mm分のIBGが設けられることを特徴とする。追記を開始する部分のIBGを2mmないし3mmにするためである。
【0014】
一方、本発明にかかる磁気テープ装置の制御方法は、磁気テープに書き込まれたデータの最後に新たなデータを追記する場合の磁気テープ装置の制御方法において、
前記磁気テープの走行時にIBGを検出したときに出力される第1の信号の検出時に、前記磁気テープを走行駆動するサーボモータから所定の回転角ごとに出力されるパルス信号を計数するカウンタ手段のカウント値をレジスタに保存しておき、前記磁気テープの追記動作において、前記磁気テープにおける最終一つ前のIBGに位置づけして、前記第1の信号と、前記カウンタ手段の値がレジスタの値になると出力される第2の信号の検出タイミングを比較してテープスリップの有無およびその誤差を検出するステップと、
最終のIBGに位置づけして、前記最終一つ前のIBGにおいて、装置側が記憶しているテープ位置が実際にIBGを読み出して得られるテープ位置と同じか1mm以内の後ろである場合、前記最終のIBGにおいて装置側が記憶しているテープ位置のタイミングでデータの追記を開始するステップとを備えることを特徴とする。
【0015】
この方法では、前記最終一つ前のIBGにおいて、装置側が記憶しているテープ位置が実際にIBGを読み出して得られるテープ位置より前である場合に、前記最終のIBGにおいて装置側が記憶しているテープ位置からその分遅らせたタイミングでデータの追記を開始することが望ましい。また、前記最終一つ前のIBGにおいて、装置側が記憶しているテープ位置が実際にIBGを読み出して得られるテープ位置と同じか1mm以内の後ろである場合、前記最終のIBGにおいて装置側が記憶しているテープ位置のタイミングでデータの追記を開始することが望ましい。既存データの不用意な上書きを防止して、データの読み出しエラーを防止するためである。
【0016】
【発明の実施の形態】
本発明の実施の形態を、添付の図面を参照しながら以下に詳細に説明する。図1は本発明に係る磁気テープ装置の構成を示すブロック図である。図1に示すように、磁気テープ装置1は上位装置100とのやりとりを行うコントローラ10と、磁気テープに対しデータの書き込みおよび読み出しを行うドライブ20とで構成される。
【0017】
コントローラ10は、コントローラ10全体の動作を制御するMPU11と、上位装置100からの入力データをテープに書き込む形式に変換するライトデータ生成回路12と、ドライブ20からの読み出しデータを上位装置に出力する形式に変換するリードデータ検出回路13と、GAP OUT信号生成回路14と、GAP IN/OUT信号比較回路15とを備えている。
【0018】
ドライブ20は、ドライブ20全体の制御を行うドライブ制御用MPU21と、磁気テープの走行やリードライトを行うドライブ駆動部22と、パルス信号カウンタ23と、カウンタ記憶用レジスタ24と、GAP IN信号生成回路25とを備えている。ドライブ駆動部22は、磁気テープの走行駆動を行うサーボモータ26を備え、このサーボモータ26は、特定の回転角毎にパルスと回転方向を示す信号を出力する。なお、ドライブ駆動部22はこの他にリードヘッドやライトヘッド等の磁気テープに対するデータの読み書きに必要な構成要素を含むが、本願発明に直接関連しないためその説明は省略する。
【0019】
コントローラ10のMPU11が上位装置100からデータの書き込み命令を受けると、ドライブ20のドライブ制御用MPU21にテープのライトを命令するとともに、ライトデータ生成回路12が上位装置100から送られる書き込みデータを磁気テープに書き込み可能な形式に変換し、ライトデータバス31を介してドライブ駆動部22に送る。後に説明するが、ライトデータ生成回路12はGAP IN/OUT比較回路15からのGAP IN信号入力をトリガとして、ライトデータの送信を開始する。ドライブ駆動部22ではサーボモータ26が動作し、書き込みヘッドからライトデータが磁気テープへと書き込まれる。
【0020】
一方、コントローラ10のMPU11が上位装置100からデータの読み出し命令を受け取った場合、ドライブ20にリード命令が出され、ドライブ駆動部22でデータの読み出しが行われる。ここで読み出されたデータはリードデータバス32を介してコントローラ10のリードデータ検出回路13へ送られ、ここで上位装置100が認識可能なデータ形式に変換され、上位装置100に送出される。
【0021】
磁気テープ装置1の動作において、サーボモータ26は特定の回転角毎にパルスと回転方向を示す信号を発生しており、この信号はパルス信号カウンタ23に出力される。パルス信号カウンタ23はドライブ20がテープの現在位置を把握する手段であり、サーボモータ26から出力されるパルス信号をトリガとして、回転方向を示す信号を参考にカウントアップ/カウントダウンを行う。このカウント値はテープをロードした時点でリセットされる。
【0022】
データの読み書きはデータブロック毎に行われており、磁気テープにおいて隣接して書き込まれるデータブロック間には所定長のIBG(ブロック間ギャップ)が設けられる(図2参照)。磁気テープのリード時にはドライブ駆動部22にてIBG等の各種マークも読み出され、リードデータ検出回路13に送られる。現在の規格によるとIBGの最大値は3mmである(Typ2mm)。また、磁気テープ装置ではデータを書き込む場合に同時に読み出しを行い、書き込みデータの確認を行うようにしている(リードアフタライト機能)。したがって、磁気テープのリード/ライト時のいずれもデータブロックおよびIBGがリードデータ検出回路13に出力されることになる。
【0023】
リードデータ検出回路13は、リードデータを上位装置100で認識可能なデータ形式に変換するが、テープフォーマットを解析する過程で各種マークの検出も行う。このリードデータ検出回路13は、検出されるマークのうちIBGパターンを検出すると、その検出信号をGAP OUT信号生成回路14に出力する。GAP OUT信号生成回路14は、IBGパターン検出信号の入力長から、テープ上の距離においてIBGが1mm検出された時点でGAP OUT信号を生成する。GAP OUT信号はドライブ20と、GAP IN/OUT信号比較回路15とに送られる。但し、後に詳細に説明するが、ライトに伴うロケート時にGAP OUT信号は比較回路15のみに出力され、ドライブ20には送られない。
【0024】
図2にテープのデータフォーマットとGAP OUT信号の関係を示す。磁気テープにおいてIBGとデータブロックが交互に設けられており、本実施例で各IBGの長さは2mmに設定されている。このテープのリード処理において、リードデータ検出回路13からGAP OUT信号生成回路14に出力されるIBGの検出長が1mmになったとき、すなわちテープ上でIBGの中央にさしかかったときにGAP OUT信号がカウンタ記憶用レジスタ24に発信される。
【0025】
カウンタ記憶用レジスタ24は、GAP OUT信号生成回路14から出力されたGAP OUT信号を受信する毎に、パルス信号カウンタ23のカウンタ値を保存する。図1に示すように、カウンタ記憶用レジスタ24は2つのレジスタ24a、24bを備えており、交互に古い情報を上書きしながらパルスカウント値を記憶する。したがって、2つのレジスタ24a、24bの示す値は、最後のGAP OUT信号受信時のパルスカウント値と、最終一つ前のGAP OUT信号受信時のパルスカウント値となる。レジスタ24のカウント値は、ドライブ制御用MPU21とGAP IN信号生成回路25に参照される。
【0026】
GAP IN信号生成回路25は、データ書き込み時にのみ動作し、カウンタ記憶用レジスタ24に記録されたカウント値を参照して、パルス信号カウンタ23のカウント値を監視する。そして、パルス信号カウンタ23が示すカウント値がレジスタ24に記録されている値と一致したときにGAP IN信号を生成し、GAP IN/OUT信号比較回路15に出力する。すなわち、GAP IN信号生成回路25は、ドライブ側で記憶しているテープ上のIBG位置にさしかかったときに、GAP IN信号を比較回路15に発信する。
【0027】
コントローラ側のGAP IN/OUT信号比較回路15は、GAP IN信号とGAP OUT信号を受信し、2つの信号の入力タイミングの誤差を検出しテープスリップの有無およびその程度を判定する。後に詳細に説明するが、入力信号の誤差検出は最終一つ前のIBG部分について行われる。そして、最終IBGにおいて誤差を補正したタイミングでGAP IN信号をライトデータ生成回路12に出力する。ライトデータ生成回路12は、比較回路15からGAP IN信号が入力されるタイミングで、ドライブ駆動部22へライトデータの出力を開始する。データを追記(アペンドライト)する場合、ライトデータのフォーマットは図3に示すように、最初のIBGは1mm、以降にデータブロックを挟んで設けられるIBGは2mmづつとなる。
【0028】
この磁気テープ装置1において、磁気テープに書き込まれているデータを最後まで読み出し、最後のデータブロックの後ろに新しいデータブロックを追記(アペンドライト)する場合の動作を以下に説明する。
【0029】
図1において、上位装置100からデータの読み込み命令を受けると、コントローラ10のMPU11がこの命令を受信し、ドライブ20にテープのリードを命令する。このリード命令はライトデータバス31を介してドライブ20に送られ、テープのリードが開始される。リード処理においてドライブ駆動部22のリードデータは、リードデータバス32を介してコントローラ10のリードデータ検出回路13に送られる。このリードデータはデータブロックと各種マークを含んでいる(図2参照)。データブロックはそのままでは上位装置で認識できないため、リードデータ検出回路13にてデータ形式の変換が行われ、上位装置100に送出される。また、リードデータ検出回路13は、マークのうちデータブロック間を識別するために書き込まれているIBGパターンを検出すると、IBGパターン検出信号をGAP OUT信号生成回路に出力する。
【0030】
GAP OUT信号生成回路14は入力するIBGパターン信号を監視し、テープ上の距離においてIBGが1mm検出された時点でGAP OUT信号をドライブ20に出力する。このGAP OUT信号はGAP IN/OUT信号線33を介して、ドライブ20のカウンタ記憶用レジスタ24に入る。カウンタ記憶用レジスタ24では、GAP OUT信号を受信したタイミングで、サーボモータ26からのパルス信号をカウントしているパルス信号カウンタ23のカウンタ値をレジスタに記録する。上述のように、カウント値は2つのレジスタ24a、24bに交互に上書きされる。このようにして、ドライブ20においてGAP OUT信号を検出したテープ上の位置がカウント値として記憶され、この位置がテープを位置づけするための基準点となる。このレジスタ記録動作はドライブ20でテープがリードされる間、継続的に実施される。
【0031】
テープに書き込まれている最後のデータを読み終わった後、上位装置100からデータの追記(アペンドライト)が命令される。この命令により、磁気テープ装置1ではヘッドの追記開始位置への位置づけ(ロケート)が行われた後にライト動作が実施される。この一連の動作について図4を用いて説明する。
【0032】
ロケート動作では、まず最終一つ前のデータブロックの途中までテープが巻き戻される。すなわち、ドライブ制御用MPU21は、カウンタ記憶用レジスタ24のうち最終一つ前のIBGのカウント値が記録されているレジスタの値を読み込み、パルス信号カウンタ23のカウント値が読み込んだ値より少し小さくなるようサーボモータ26を制御する。これにより、図4に示すA地点までテープが巻き戻され、再びフォワード方向へリード処理が開始される(図3矢印の方向)。なお、最終一つ前のIBGの少し手前まで巻き戻すのは、フォワード方向へのテープ走行を定速状態にするために必要な距離を確保するためである。ここで読み出されたカウント値(最終一つ前のIBG検出時のカウント値)は、同時にGAP IN信号生成回路25にも送られ記憶される。
【0033】
GAP IN信号生成回路25は、ロケート時のリード処理においてサーボモータ26のパルス信号カウンタ23が、レジスタ24から読み取ったカウント値を示したときに、GAP IN信号を生成し信号線33を介して比較回路15に送出する。これにより、装置1がサーボモータ26のパルスカウント値として記憶している最終一つ前のIBG位置でGAP IN信号が比較回路15に入力される。
【0034】
このロケート時にドライブ駆動部22により読み出されたデータはコントローラ10に送出されている。送られたデータはリード検出回路13にて解析され、データブロックとマークが検出される。検出回路13がIBGパターンを検出するとIBGパターン検出信号がGAP OUT信号生成回路14に送られ、IBGパターンが1mm検出された時点でGAP OUT信号が生成される。前述のように、ロケート時にGAP OUT信号はドライブ20には送られず、GAP IN/OUT比較回路15にのみ出力される。また同様に、ロケート時にはMPU11からの命令により、リード検出回路13はデータブロックを上位装置100に送らず破棄する。これにより、実際に走行するテープ上のIBG検出タイミングでGAP OUT信号が比較回路15に入力される。
【0035】
GAP IN/OUT比較回路15は、入力されるGAP IN信号とGAP OUT信号のタイミングを比較する。これにより、最終一つ前のIBG地点において、テープスリップ発生の有無およびその誤差が把握される。すなわち、図4に示すように、GAP IN信号とGAP OUT信号が同時に比較回路15に入力した場合、テープスリップは生じていない。入力信号のタイミングにズレがある場合はスリップが生じていることなので、ズレ方向およびその量からテープスリップの状況を確認し記憶する。
【0036】
コントローラ10のMPU11は、GAP IN/OUT比較回路15での比較結果を確認すると、ライト命令をドライブ20とライトデータ生成回路12に送信する。ライト命令を受けたドライブ制御用MPU21は、カウンタ記憶用レジスタ24のうち最後のIBG検出時のパルスカウント値を記憶しているレジスタの値を読み込み、パルス信号カウンタ23がこの値になるようサーボモータ26を制御する。読み取ったカウント値は、同時にGAP IN信号生成回路25に送られ記憶される。
【0037】
サーボモータ26のパルス信号カウンタ23がレジスタ24から読み取ったカウント値を示したとき、GAP IN信号生成回路25からGAP IN信号が信号線33を介して比較回路15に送出される。このGAP IN信号を受け取った比較回路15は先ほど記録したタイミング情報とズレの値により、以下のように処理を分岐する。
【0038】
(1) 最終一つ前のIBGにおいてGAP OUT信号とGAP IN信号が同時に入力した場合、データスリップは生じていないので、比較回路15は入力GAP IN信号をそのままライトデータ生成回路12に出力する(図4参照)。ライトデータ生成回路12はGAP IN信号の入力をトリガとしてドライブ駆動部22にライトデータの送信を開始し、ドライブ駆動部22にてデータライトが開始される。ここで、前述の通りGAP IN信号はIBGが1mm検出された時点で比較回路15に入力し、また、図3に示すようにアペンドライト時のデータフォーマットは追記開始部分のIBG部分を1mmとしているので、データの継ぎ目となるIBGは他の部分と同じ2mmとなる。
【0039】
(2) GAP OUT信号よりGAP IN信号の方が早く検出された場合、テープがフォワード方向にずれている状態である。この状態を図5に示す。この場合、比較回路15はGAP IN信号をズレの分だけ遅延させてライトデータ生成回路12に出力する。これにより、ズレの分だけ追記開始位置が補正され、既に書き込まれているデータ終端部分をオーバーライトすることなく追記を始めることができる。
【0040】
(3) GAP OUT信号よりGAP IN信号の方が遅く検出された場合、テープがリバース方向にずれている状態である。このとき比較回路15はズレ量を参照し、ズレが1mm以内である場合はGAP IN信号をそのままライトデータ生成回路12に出力する。この状態を図6に示す。この結果、図4や図5に示す例より少し遅れたタイミングでGAP IN信号がライトデータ生成回路12に送られ、図6に示すように追記開始部分のIBGは最大3mmの長さとなるが、規格(ANSI)によればIBGの最大長は3mm(Typ2mm)であるためリード不能になる不具合は生じない。
【0041】
(4) GAP OUT信号よりGAP IN信号の方が遅く検出され、そのズレが1mmより大きい場合、GAP IN/OUT比較回路15はGAP IN信号の出力を行わず、MPU11に対しロケート及びライト命令の再実行を要求する。仮にGAP IN信号をそのままライトデータ生成回路12に出力すると、既に書き込まれている最終IBGと追記開始部分のIBGとの間に隙間が発生し、テープフォーマットに違反したリード不能のテープとなってしまうからである。
【0042】
ロケート及びライトの再実行により上記(1)〜(3)のパターンが達成できればよいが、実際に1mmより大きいスリップが生じている場合は同様の誤差が検出されることになる。そこで、数度のリトライによっても同様の結果となった場合には、最終一つ前のデータブロックから最終データまでの再リードを行い、改めてアペンドライトを実行するようにする。再リードによりカウンタ記録用レジスタ24の値が更新され、アペンドライトを成功させることができる。なお、この再リード処理中のリードデータは上位装置100に上げずに破棄するようにする。
【0043】
本発明の実施の形態について詳細に説明したが、上記の実施例で回路の一部を廃止してMPUとファームウェアで代用するようにしてもよい。例えば、GAPIN/OUT比較回路15を廃止して、スリップの検出およびその補償をファームウェアで行うようにしてもよい。
【0044】
【発明の効果】
以上に説明したように、本発明に係る磁気テープ装置及びその制御方法では、最終一つ前のIBG部分でテープスリップを検出し、検出結果に応じて比較回路15から出力されるGAP IN信号の出力タイミングを調整することにより、最終IBG部分でズレが補正されるようにしている。したがって、走行する磁気テープの終端部分でスリップ補償を行う場合に比して装置の処理負担を分散させることができ、装置の低コスト化や小型化を図ることができる。
【図面の簡単な説明】
【図1】 本発明に係る磁気テープ装置の構成を示すブロック図である。
【図2】 リード時のデータフォーマットとGAP OUT信号の関係を示す図である。
【図3】 アペンドライト時のデータフォーマットを示す図である。
【図4】 アペンドライト時の処理例を説明する図である。
【図5】 アペンドライト時の処理例を説明する図である。
【図6】 アペンドライト時の処理例を説明する図である。
【符号の説明】
1 磁気テープ装置
10 コントローラ
11 MPU
12 ライトデータ生成回路
13 リードデータ検出回路
14 GAP OUT信号生成回路
15 GAP IN/OUT信号比較回路
20 ドライブ
21 ドライブ制御用MPU
22 ドライブ駆動部
23 パルス信号カウンタ
24 カウンタ記憶用レジスタ
25 GAP IN信号生成回路
26 サーボモータ
31 ライトデータバス
32 リードデータバス
33 GAP IN/OUT信号線
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a magnetic tape device and a control method thereof, and more particularly, to a magnetic tape device and a control method thereof that prevent inadvertent overwriting of data due to a tape slip.
[0002]
[Prior art]
In a magnetic tape device, a phenomenon called slip in which the tape does not follow the rotation of the drive shaft may occur due to loose winding of the tape. If slip occurs when writing to the magnetic tape, data cannot be written from the correct location, and the written data is overwritten on the existing data, or conversely, the IBG (Interblock Gap) provided at the end of the existing data And a data head IBG to be additionally written, a gap is generated, and data cannot be read thereafter.
[0003]
In order to eliminate problems caused by tape slip, there is a write control method for magnetic tape devices that reads existing data blocks, detects that there is no data and then runs the tape for a certain distance and then writes the data. (For example, patent document 1). In addition, there is a magnetic tape control system that detects the presence or absence of slip by measuring the time until write data is read by the read head, and delays data writing when a slip occurs (for example, Patent Document 2).
[0004]
In addition, an error detection circuit connected to the block detection circuit and the tacho pulse counter is provided to detect the slip amount, and an error averaging circuit that averages the detected error and inputs it to the mileage control circuit is added to make it accurate. There is a magnetic tape device that realizes a repositioning operation (for example, Patent Document 3).
[0005]
[Patent Document 1]
JP 58-17554 A
[Patent Document 2]
JP 59-30256 (page 2, lower right paragraph)
[Patent Document 3]
JP-A-62-102451 (page 3, upper left paragraph)
[0006]
[Problems to be solved by the invention]
However, all of the above-mentioned conventional technologies read the magnetic tape to detect the end of the existing data, calculate the time and travel distance from there, and secure an appropriate length of IBG, and more appropriately By the way, it is necessary to perform processing such as sending additional data and starting data writing at the timing of writing to the magnetic tape. Accordingly, processing to be performed by the magnetic tape device is concentrated at the timing of writing, and an excessive load is applied to the MPU and bus of the device. If this process is actually realized, there is a problem that high performance of the circuit is required, which is not practical in terms of cost.
[0007]
In view of such a problem, the present invention detects an error due to slip and a necessary correction amount by locating to the last IBG, and starts writing at the corrected timing at the data end portion, thereby processing burden. An object of the present invention is to provide a magnetic tape device in which the above-mentioned is reduced.
[0008]
[Means for Solving the Problems]
In order to achieve this object, a magnetic tape device according to the present invention includes a servo motor that drives and drives a magnetic tape, a counter unit that counts pulse signals output from the servo motor at every predetermined rotation angle, and the magnetic tape device. IBG detection means for detecting IBG and outputting a first signal when the tape is running, a register for storing the count value of the counter means when the first signal is detected, and the counter means in the additional write operation of the magnetic tape Second signal output means for outputting a second signal when the value of the register becomes the value of the register, and comparison means for detecting the presence / absence and amount of tape slip by comparing the detection timings of the first and second signals. Prepared,
  The register includes at least an IBG (hereinafter referred to as a “final IBG”) that is to start additional recording on the magnetic tape and an immediately preceding IBG.(Hereafter referred to as “the last IBG one last”)And storing the count value at
  The comparison means includes
(1) When the second signal is detected earlier than the first signal in the last IBG portion immediately before the last, the timing to the magnetic tape is delayed by that amount from the second signal output time in the last IBG portion. I gave a postscript start command,
(2) In the IBG portion immediately before the last, the first signal is detected simultaneously with the second signal or the second signal is detected later than the first signal, and the error is within 1 mm as the distance on the magnetic tape. If there is, issue a command to start appending to the magnetic tape when the second signal is output in the final IBG portion.It is characterized by.
[0010]
As described above, in the magnetic tape apparatus of the present invention, an error is detected by positioning it at the last IBG in the additional write operation on the magnetic tape, and an additional write start command is issued at the timing for correcting the error in the final IBG portion. I have to. Therefore, the processing burdened by the device side in the final IBG portion where additional recording should be started is reduced, and it is possible to reduce the cost of the device by eliminating the need for high performance of the circuit.
[0011]
The comparing means includes
(3) The second signal is detected later than the first signal in the last IBG portion, and the error is the distance on the magnetic tape.When larger than 1mmIt is desirable to prompt the magnetic tape device to retry the write-once operation. In this case,
(4) Also by the retryGreater than 1mmWhen an error is detected, it is desirable to request the apparatus to perform a read operation from a portion before the last previous IBG to update the value of the register and then perform an additional write operation again.
[0012]
As will be explained later,Greater than 1mmIf additional writing is started when slipping occurs, a gap is generated in the IBG and reading becomes impossible. Therefore, retry of the additional writing operation is performed and error detection is performed again. Also, by this retryGreater than 1mmWhen an error is detected, in order to update the value of the register for grasping the tape position on the apparatus side, reading is performed from before the last previous IBG, and then the additional writing operation is started again.
[0013]
In the magnetic tape device of the present invention, each IBG of the magnetic tape is configured to have a width of about 2 mm, and the IBG detection means detects the first signal when IBG is detected 1 mm on the magnetic tape. Is output. This is because if the IBG of the magnetic tape is 2 mm wide, the point when 1 mm is detected is exactly the center of the IBG. Further, an IBG for 1 mm of tape is provided at the head of data to be additionally recorded in the additional recording operation. This is because the IBG of the portion where the additional recording is started is set to 2 mm to 3 mm.
[0014]
On the other hand, a method for controlling a magnetic tape device according to the present invention is a method for controlling a magnetic tape device in the case where new data is appended to the end of data written on the magnetic tape.
  Counter means for counting a pulse signal output at every predetermined rotation angle from a servo motor that drives the magnetic tape when detecting a first signal that is output when IBG is detected when the magnetic tape is running. The count value is stored in a register, and in the additional recording operation of the magnetic tape,Positioning the last IBG in the magnetic tape,Comparing the detection timing of the first signal with the detection timing of the second signal that is output when the value of the counter means becomes the value of the register, and detecting the presence or absence of a tape slip; and
  Position it as the final IBG,In the last IBG, if the tape position stored on the device side is the same as the tape position actually obtained by reading out the IBG or within 1 mm behind, the device side stores in the final IBG. At the timing of the tape positionAnd a step of starting the additional writing of data.
[0015]
In this method, when the tape position stored on the device side in the last previous IBG is earlier than the tape position actually obtained by reading the IBG, the device side stores in the final IBG. It is desirable to start adding data at a timing delayed from the tape position. Also, in the last IBG, if the tape position stored on the device side is the same as the tape position actually obtained by reading the IBG or within 1 mm behind, the device side stores in the final IBG. It is desirable to start adding data at the timing of the tape position. This is to prevent inadvertent overwriting of existing data and prevent data read errors.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of a magnetic tape apparatus according to the present invention. As shown in FIG. 1, the magnetic tape device 1 includes a controller 10 that exchanges data with the host device 100, and a drive 20 that writes and reads data to and from the magnetic tape.
[0017]
The controller 10 has an MPU 11 that controls the operation of the entire controller 10, a write data generation circuit 12 that converts input data from the host device 100 into a format for writing to a tape, and a format that outputs read data from the drive 20 to the host device. A read data detection circuit 13 for converting to a GAP OUT signal, a GAP OUT signal generation circuit 14, and a GAP IN / OUT signal comparison circuit 15.
[0018]
The drive 20 includes a drive control MPU 21 for controlling the entire drive 20, a drive drive unit 22 for running and reading / writing a magnetic tape, a pulse signal counter 23, a counter storage register 24, and a GAP IN signal generation circuit. 25. The drive drive unit 22 includes a servo motor 26 that drives the magnetic tape to travel, and the servo motor 26 outputs a pulse and a signal indicating the rotation direction for each specific rotation angle. The drive drive unit 22 includes other components necessary for reading and writing data on the magnetic tape such as a read head and a write head, but the description thereof is omitted because it is not directly related to the present invention.
[0019]
When the MPU 11 of the controller 10 receives a data write command from the host device 100, the MPU 21 for drive control of the drive 20 commands to write the tape, and the write data generation circuit 12 sends the write data sent from the host device 100 to the magnetic tape. Is converted to a writable format and sent to the drive drive unit 22 via the write data bus 31. As will be described later, the write data generation circuit 12 starts transmission of write data with the GAP IN signal input from the GAP IN / OUT comparison circuit 15 as a trigger. In the drive drive unit 22, a servo motor 26 operates, and write data is written from the write head to the magnetic tape.
[0020]
On the other hand, when the MPU 11 of the controller 10 receives a data read command from the host device 100, a read command is issued to the drive 20, and data is read by the drive drive unit 22. The data read here is sent to the read data detection circuit 13 of the controller 10 via the read data bus 32, where it is converted into a data format that can be recognized by the host device 100 and sent to the host device 100.
[0021]
In the operation of the magnetic tape device 1, the servo motor 26 generates a pulse and a signal indicating the rotation direction at each specific rotation angle, and this signal is output to the pulse signal counter 23. The pulse signal counter 23 is a means for the drive 20 to grasp the current position of the tape. The pulse signal counter 23 counts up / down with reference to a signal indicating the rotation direction with the pulse signal output from the servomotor 26 as a trigger. This count value is reset when the tape is loaded.
[0022]
Data is read and written for each data block, and a predetermined length of IBG (interblock gap) is provided between adjacent data blocks written on the magnetic tape (see FIG. 2). When the magnetic tape is read, various marks such as IBG are also read by the drive driving unit 22 and sent to the read data detection circuit 13. According to the current standard, the maximum value of IBG is 3 mm (Typ 2 mm). Further, in the magnetic tape device, when data is written, the data is simultaneously read and the written data is confirmed (read after write function). Accordingly, the data block and the IBG are output to the read data detection circuit 13 at the time of reading / writing of the magnetic tape.
[0023]
The read data detection circuit 13 converts the read data into a data format that can be recognized by the host device 100, but also detects various marks in the process of analyzing the tape format. When the read data detection circuit 13 detects an IBG pattern among the detected marks, the read data detection circuit 13 outputs the detection signal to the GAP OUT signal generation circuit 14. The GAP OUT signal generation circuit 14 generates a GAP OUT signal when IBG is detected 1 mm at a distance on the tape from the input length of the IBG pattern detection signal. The GAP OUT signal is sent to the drive 20 and the GAP IN / OUT signal comparison circuit 15. However, as will be described in detail later, the GAP OUT signal is output only to the comparison circuit 15 and is not sent to the drive 20 at the time of locating accompanying writing.
[0024]
FIG. 2 shows the relationship between the tape data format and the GAP OUT signal. In the magnetic tape, IBGs and data blocks are alternately provided. In this embodiment, the length of each IBG is set to 2 mm. In this tape read processing, when the IBG detection length output from the read data detection circuit 13 to the GAP OUT signal generation circuit 14 becomes 1 mm, that is, when the tape approaches the center of the IBG on the tape, the GAP OUT signal is output. It is transmitted to the counter storage register 24.
[0025]
The counter storage register 24 stores the counter value of the pulse signal counter 23 every time the GAP OUT signal output from the GAP OUT signal generation circuit 14 is received. As shown in FIG. 1, the counter storage register 24 includes two registers 24a and 24b, and stores a pulse count value while overwriting old information alternately. Accordingly, the values indicated by the two registers 24a and 24b are a pulse count value when the last GAP OUT signal is received and a pulse count value when the last GAP OUT signal is received. The count value of the register 24 is referred to by the drive control MPU 21 and the GAP IN signal generation circuit 25.
[0026]
The GAP IN signal generation circuit 25 operates only when data is written, and monitors the count value of the pulse signal counter 23 with reference to the count value recorded in the counter storage register 24. Then, when the count value indicated by the pulse signal counter 23 matches the value recorded in the register 24, a GAP IN signal is generated and output to the GAP IN / OUT signal comparison circuit 15. That is, the GAP IN signal generation circuit 25 transmits a GAP IN signal to the comparison circuit 15 when it reaches the IBG position on the tape stored on the drive side.
[0027]
The controller-side GAP IN / OUT signal comparison circuit 15 receives the GAP IN signal and the GAP OUT signal, detects an error in the input timing of the two signals, and determines the presence / absence and degree of tape slip. As will be described in detail later, the error detection of the input signal is performed on the last IBG portion. Then, the GAP IN signal is output to the write data generation circuit 12 at the timing when the error is corrected in the final IBG. The write data generation circuit 12 starts outputting write data to the drive driver 22 at the timing when the GAP IN signal is input from the comparison circuit 15. In the case of appending data (append write), as shown in FIG. 3, the format of the write data is 1 mm for the first IBG, and 2 mm for the IBG provided after the data block.
[0028]
In the magnetic tape device 1, the operation when data written on the magnetic tape is read to the end and a new data block is appended (append write) after the last data block will be described below.
[0029]
In FIG. 1, when receiving a data read command from the host device 100, the MPU 11 of the controller 10 receives this command and commands the drive 20 to read the tape. This read command is sent to the drive 20 via the write data bus 31 to start reading the tape. In the read process, the read data of the drive drive unit 22 is sent to the read data detection circuit 13 of the controller 10 via the read data bus 32. This read data includes a data block and various marks (see FIG. 2). Since the data block cannot be recognized by the host device as it is, the data format is converted by the read data detection circuit 13 and sent to the host device 100. Further, when the read data detection circuit 13 detects an IBG pattern written to identify data blocks among the marks, it outputs an IBG pattern detection signal to the GAP OUT signal generation circuit.
[0030]
The GAP OUT signal generation circuit 14 monitors the input IBG pattern signal and outputs the GAP OUT signal to the drive 20 when IBG is detected 1 mm at a distance on the tape. This GAP OUT signal enters the counter storage register 24 of the drive 20 via the GAP IN / OUT signal line 33. The counter storage register 24 records the counter value of the pulse signal counter 23 that counts the pulse signal from the servomotor 26 in the register at the timing when the GAP OUT signal is received. As described above, the count value is alternately overwritten in the two registers 24a and 24b. In this way, the position on the tape where the GAP OUT signal is detected in the drive 20 is stored as the count value, and this position becomes the reference point for positioning the tape. This register recording operation is continuously performed while the tape is read by the drive 20.
[0031]
After reading the last data written on the tape, the host device 100 commands the appending of data (append write). With this command, the magnetic tape device 1 performs the write operation after the head is positioned (located) at the additional write start position. This series of operations will be described with reference to FIG.
[0032]
In the locate operation, the tape is rewound to the middle of the last data block. That is, the drive control MPU 21 reads the value of the register storing the last IBG count value in the counter storage register 24, and the count value of the pulse signal counter 23 is slightly smaller than the read value. The servo motor 26 is controlled. As a result, the tape is rewound to the point A shown in FIG. 4, and the read process is started again in the forward direction (the direction of the arrow in FIG. 3). The reason why the last IBG is rewound slightly before is to secure a distance necessary to make the tape travel in the forward direction a constant speed state. The count value read here (the count value at the time of the last previous IBG detection) is simultaneously sent to and stored in the GAP IN signal generation circuit 25.
[0033]
The GAP IN signal generation circuit 25 generates a GAP IN signal and compares it via the signal line 33 when the pulse signal counter 23 of the servo motor 26 indicates the count value read from the register 24 in the read process at the time of locate. Send to circuit 15. As a result, the GAP IN signal is input to the comparison circuit 15 at the last IBG position stored in the apparatus 1 as the pulse count value of the servo motor 26.
[0034]
The data read by the drive drive unit 22 at the time of the locate is sent to the controller 10. The sent data is analyzed by the read detection circuit 13, and a data block and a mark are detected. When the detection circuit 13 detects the IBG pattern, an IBG pattern detection signal is sent to the GAP OUT signal generation circuit 14, and a GAP OUT signal is generated when the IBG pattern is detected by 1 mm. As described above, the GAP OUT signal is not sent to the drive 20 at the time of locating, but is output only to the GAP IN / OUT comparison circuit 15. Similarly, at the time of locating, the read detection circuit 13 discards the data block without sending it to the higher-level device 100 according to a command from the MPU 11. As a result, the GAP OUT signal is input to the comparison circuit 15 at the IBG detection timing on the actually running tape.
[0035]
The GAP IN / OUT comparison circuit 15 compares the timing of the input GAP IN signal and the GAP OUT signal. As a result, the presence or absence of tape slip and its error are grasped at the last IBG point. That is, as shown in FIG. 4, when the GAP IN signal and the GAP OUT signal are simultaneously input to the comparison circuit 15, no tape slip occurs. If there is a deviation in the timing of the input signal, a slip has occurred, so the tape slip condition is confirmed and stored from the deviation direction and its amount.
[0036]
When the MPU 11 of the controller 10 confirms the comparison result in the GAP IN / OUT comparison circuit 15, it transmits a write command to the drive 20 and the write data generation circuit 12. Upon receiving the write command, the drive control MPU 21 reads the value of the register storing the pulse count value at the time of the last IBG detection in the counter storage register 24, and the servo motor so that the pulse signal counter 23 becomes this value. 26 is controlled. The read count value is simultaneously sent to and stored in the GAP IN signal generation circuit 25.
[0037]
When the pulse signal counter 23 of the servo motor 26 indicates the count value read from the register 24, the GAP IN signal generation circuit 25 sends the GAP IN signal to the comparison circuit 15 via the signal line 33. The comparison circuit 15 that has received this GAP IN signal branches the processing as follows according to the timing information and the deviation value recorded earlier.
[0038]
(1) When the GAP OUT signal and the GAP IN signal are simultaneously input in the last IBG, since no data slip has occurred, the comparison circuit 15 outputs the input GAP IN signal as it is to the write data generation circuit 12 ( (See FIG. 4). The write data generation circuit 12 starts transmission of write data to the drive driver 22 with the input of the GAP IN signal as a trigger, and data write is started in the drive driver 22. Here, as described above, the GAP IN signal is input to the comparison circuit 15 when IBG is detected at 1 mm, and the data format at the time of append write is set to 1 mm at the additional write start portion as shown in FIG. Therefore, the IBG that is the seam of the data is 2 mm, which is the same as the other parts.
[0039]
(2) When the GAP IN signal is detected earlier than the GAP OUT signal, the tape is shifted in the forward direction. This state is shown in FIG. In this case, the comparison circuit 15 delays the GAP IN signal by the amount of deviation and outputs it to the write data generation circuit 12. Thereby, the additional recording start position is corrected by the amount of deviation, and additional recording can be started without overwriting the already written data end portion.
[0040]
(3) When the GAP IN signal is detected later than the GAP OUT signal, the tape is displaced in the reverse direction. At this time, the comparison circuit 15 refers to the amount of deviation, and if the deviation is within 1 mm, outputs the GAP IN signal to the write data generation circuit 12 as it is. This state is shown in FIG. As a result, the GAP IN signal is sent to the write data generation circuit 12 at a timing slightly delayed from the examples shown in FIG. 4 and FIG. 5, and the IBG at the additional write start portion has a maximum length of 3 mm as shown in FIG. According to the standard (ANSI), since the maximum length of IBG is 3 mm (Typ 2 mm), there is no problem that reading is impossible.
[0041]
(4) GAP IN signal is detected later than GAP OUT signal.Greater than 1mmIn this case, the GAP IN / OUT comparison circuit 15 does not output the GAP IN signal and requests the MPU 11 to re-execute the locate and write instructions. If the GAP IN signal is output to the write data generation circuit 12 as it is, a gap is generated between the last written IBG and the additional recording start IBG, resulting in an unreadable tape that violates the tape format. Because.
[0042]
It is sufficient if the patterns (1) to (3) above can be achieved by re-execution of locate and write.Greater than 1mmIf slip has occurred, a similar error is detected. Therefore, if the same result is obtained even after several retries, reread from the last data block to the last data is performed, and append write is executed again. By rereading, the value of the counter recording register 24 is updated, and append writing can be successful. Note that the read data during the reread process is discarded without being sent to the host apparatus 100.
[0043]
Although the embodiment of the present invention has been described in detail, a part of the circuit may be abolished in the above embodiment and replaced with MPU and firmware. For example, the gapin / out comparison circuit 15 may be eliminated, and slip detection and compensation may be performed by firmware.
[0044]
【The invention's effect】
As described above, in the magnetic tape device and the control method thereof according to the present invention, the tape slip is detected at the last IBG portion, and the GAP IN signal output from the comparison circuit 15 according to the detection result. By adjusting the output timing, the deviation is corrected in the final IBG portion. Therefore, it is possible to disperse the processing burden of the apparatus as compared with the case where slip compensation is performed at the end portion of the traveling magnetic tape, and it is possible to reduce the cost and size of the apparatus.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a magnetic tape device according to the present invention.
FIG. 2 is a diagram illustrating a relationship between a data format at the time of reading and a GAP OUT signal;
FIG. 3 is a diagram showing a data format during append write.
FIG. 4 is a diagram illustrating an example of processing during append writing.
FIG. 5 is a diagram for explaining an example of processing during append writing.
FIG. 6 is a diagram for explaining an example of processing during append writing.
[Explanation of symbols]
1 Magnetic tape unit
10 Controller
11 MPU
12 Write data generation circuit
13 Read data detection circuit
14 GAP OUT signal generation circuit
15 GAP IN / OUT signal comparison circuit
20 drives
21 MPU for drive control
22 Drive drive unit
23 Pulse signal counter
24 Counter storage register
25 GAP IN signal generation circuit
26 Servo motor
31 Write data bus
32 Read data bus
33 GAP IN / OUT signal line

Claims (7)

磁気テープを走行駆動するサーボモータと、該サーボモータから所定の回転角毎に出力されるパルス信号を計数するカウンタ手段と、前記磁気テープの走行時にIBGを検出して第1の信号を出力するIBG検出手段と、前記第1の信号検出時に前記カウンタ手段のカウント値を保存するレジスタと、前記磁気テープの追記動作において前記カウンタ手段の値がレジスタの値になると第2の信号を出力する第2信号出力手段と、前記第1および第2の信号の検出タイミングを比較する比較手段を備え、
前記レジスタは、少なくとも前記磁気テープへの追記を開始しようとするIBG(以下、「最終IBG」と称す。)とその一つ前のIBG(以下、「最終一つ前のIBG」と称す。)における前記カウント値とを記憶するとともに、
前記比較手段は、
(1) 前記最終一つ前のIBG部分において第1の信号より第2の信号が早く検出された場合、前記最終IBG部分における第2の信号出力時からその分遅らせたタイミングで磁気テープへの追記開始命令を出し、
(2) 前記最終一つ前のIBG部分において第1の信号が第2の信号と同時か第1の信号より第2の信号が遅く検出され、その誤差が磁気テープ上の距離で1mm以内である場合、前記最終IBG部分における第2の信号出力時に磁気テープへの追記開始命令を出すことを特徴とする磁気テープ装置。
Servo motor for driving the magnetic tape, counter means for counting pulse signals output from the servo motor at every predetermined rotation angle, and detecting the IBG when the magnetic tape is running and outputting the first signal An IBG detecting means; a register for storing the count value of the counter means when the first signal is detected; and a second signal that outputs a second signal when the value of the counter means becomes a register value in the additional recording operation of the magnetic tape. Two-signal output means, and comparison means for comparing the detection timing of the first and second signals,
The register has at least an IBG (hereinafter referred to as “final IBG”) and an immediately preceding IBG (hereinafter referred to as “final IBG”) that are to start additional recording on the magnetic tape . And storing the count value at
The comparison means includes
(1) When the second signal is detected earlier than the first signal in the last IBG portion immediately before the last, the timing to the magnetic tape is delayed by that amount from the second signal output time in the last IBG portion. I gave a postscript start command,
(2) In the IBG portion immediately before the last, the first signal is detected simultaneously with the second signal or the second signal is detected later than the first signal, and the error is within 1 mm as the distance on the magnetic tape. In some cases, a magnetic tape device is characterized in that a command to start appending to a magnetic tape is issued when a second signal is output in the final IBG portion .
請求項1に記載の磁気テープ装置において、前記比較手段は、
(3) 前記最終一つ前のIBG部分において第1の信号より第2の信号が遅く検出され、その誤差が磁気テープ上の距離で1mmより大きい場合、前記磁気テープ装置に追記動作の再試行を要求することを特徴とする磁気テープ装置。
2. The magnetic tape device according to claim 1, wherein the comparing means is
(3) When the second signal is detected later than the first signal in the last IBG portion and the error is larger than 1 mm on the magnetic tape, the write operation is retried to the magnetic tape device. A magnetic tape device characterized by the following.
請求項2に記載の磁気テープ装置において、前記比較手段は、
(4) 前記再試行によっても1mmより大きい誤差が検出される場合、前記最終一つ前のIBGより前の部分から読み出し動作を行って前記レジスタの値を更新してから再び追記動作を行うよう装置に要求することを特徴とする磁気テープ装置。
3. The magnetic tape device according to claim 2, wherein the comparing means is
(4) When an error larger than 1 mm is detected even after the retry, the read operation is performed from the portion before the last IBG, the value of the register is updated, and the additional operation is performed again. A magnetic tape device characterized by requiring the device.
請求項1乃至3のいずれかに記載の磁気テープ装置において、前記磁気テープの各IBGが約2mmの幅を設けて構成されるとともに、前記IBG検出手段は、前記磁気テープ上でIBGを1mm検出したときに前記第1の信号を出力することを特徴とする磁気テープ装置。  4. The magnetic tape device according to claim 1, wherein each IBG of the magnetic tape is configured to have a width of about 2 mm, and the IBG detection means detects IBG on the magnetic tape by 1 mm. And outputting the first signal when the magnetic tape device operates. 請求項1乃至4のいずれかに記載の磁気テープ装置において、前記追記動作において追記されるデータの先頭にはテープ1mm分のIBGが設けられることを特徴とする磁気テープ装置。  5. The magnetic tape device according to claim 1, wherein an IBG for 1 mm of tape is provided at the head of data to be additionally recorded in the additional recording operation. 磁気テープに書き込まれたデータの最後に新たなデータを追記する場合の磁気テープ装置の制御方法において、
前記磁気テープの走行時にIBGを検出したときに出力される第1の信号の検出時に、前記磁気テープを走行駆動するサーボモータから所定の回転角ごとに出力されるパルス信号を計数するカウンタ手段のカウント値をレジスタに保存しておき、前記磁気テープの追記動作において、前記磁気テープにおける最終一つ前のIBGに位置づけして、前記第1の信号と、前記カウンタ手段の値がレジスタの値になると出力される第2の信号の検出タイミングを比較してテープスリップの有無およびその誤差を検出するステップと、
最終のIBGに位置づけして、前記最終一つ前のIBGにおいて、装置側が記憶しているテープ位置が実際にIBGを読み出して得られるテープ位置と同じか1mm以内の後ろである場合、前記最終のIBGにおいて装置側が記憶しているテープ位置のタイミングでデータの追記を開始するステップとを備えることを特徴とする磁気テープ装置の制御方法。
In the control method of the magnetic tape device when appending new data to the end of the data written on the magnetic tape,
Counter means for counting a pulse signal output at every predetermined rotation angle from a servo motor that drives the magnetic tape when detecting a first signal that is output when IBG is detected when the magnetic tape is running. The count value is stored in a register, and in the write-once operation of the magnetic tape, positioned at the last IBG in the magnetic tape, the first signal and the value of the counter means are set to the register value. Comparing the detection timing of the output second signal and detecting the presence / absence of a tape slip and its error;
If the tape position stored on the device side is the same as the tape position obtained by actually reading the IBG or within 1 mm behind the last IBG, the final IBG is positioned . A method of controlling a magnetic tape device, comprising: a step of starting to add data at a timing of a tape position stored on the device side in IBG .
請求項6に記載の磁気テープ装置の制御方法において、前記最終一つ前のIBGにおいて、装置側が記憶しているテープ位置が実際にIBGを読み出して得られるテープ位置より前である場合に、前記最終のIBGにおいて装置側が記憶しているテープ位置からその分遅らせたタイミングでデータの追記を開始することを特徴とする磁気テープ装置の制御方法。  7. The method of controlling a magnetic tape device according to claim 6, wherein the tape position stored on the device side is before the tape position actually obtained by reading the IBG in the last IBG. A method of controlling a magnetic tape device, wherein data addition is started at a timing delayed from the tape position stored on the device side in the final IBG.
JP2002278786A 2002-09-25 2002-09-25 Magnetic tape device and control method thereof Expired - Fee Related JP3969265B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002278786A JP3969265B2 (en) 2002-09-25 2002-09-25 Magnetic tape device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002278786A JP3969265B2 (en) 2002-09-25 2002-09-25 Magnetic tape device and control method thereof

Publications (2)

Publication Number Publication Date
JP2004118906A JP2004118906A (en) 2004-04-15
JP3969265B2 true JP3969265B2 (en) 2007-09-05

Family

ID=32273975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002278786A Expired - Fee Related JP3969265B2 (en) 2002-09-25 2002-09-25 Magnetic tape device and control method thereof

Country Status (1)

Country Link
JP (1) JP3969265B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5005023B2 (en) * 2009-12-25 2012-08-22 インターナショナル・ビジネス・マシーンズ・コーポレーション An apparatus of linear recording method, a method thereof, and a program for executing optimum writing when a command sequence in which read and write instructions are mixed is received.

Also Published As

Publication number Publication date
JP2004118906A (en) 2004-04-15

Similar Documents

Publication Publication Date Title
EP0268745B1 (en) Tape positioning using reverse boundary capture: tape drive system and method
EP1145235B1 (en) Variable speed recording method for a magnetic tape drive
JP2001524730A (en) System for optimizing gap positioning in tape drives
US7813069B2 (en) Method and apparatus for controlling motion of storage media
JP3969265B2 (en) Magnetic tape device and control method thereof
US5475542A (en) Method and apparatus for improving inter-block gap length tolerance and locate accuracy for write appends
JP4098437B2 (en) Method and apparatus for correcting gap deviation of magnetic tape
JPH0695366B2 (en) Repositioning device for streaming magnetic tape device
JP2669382B2 (en) Magnetic tape unit
US5694262A (en) Method and apparatus for transferring data and making on-the-fly correction of errors
JP4020042B2 (en) Magnetic tape device and control method thereof
JP2563466B2 (en) Digital signal recording / reproducing device
JP3334696B2 (en) Magnetic tape recorder
JP2690690B2 (en) Magnetic tape unit
JP2805178B2 (en) Data addition method for helical scan tape recorder device
JP2745618B2 (en) Head repositioning method
JP3065698B2 (en) Magnetic recording method
JPH07281836A (en) Data transfer method
JP3823365B2 (en) Magnetic tape controller
JP2970588B2 (en) Magnetic disk drive
JPH11296931A (en) Tape positioning method in magnetic tape device
JPH0729312A (en) Magnetic disk device
JPH0519225B2 (en)
JPS61179747A (en) System for controlling space of printer
JPH0261804A (en) Magnetic recording circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070409

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070515

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070528

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100615

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120615

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees